Article View: news.software.nn
Article #2609Re: Happy Birthday, Kim
From: James Turner
Date: Mon, 23 Mar 1992 17:44
Date: Mon, 23 Mar 1992 17:44
41 lines
2490 bytes
2490 bytes
ahe@tkk.tele.fi (Allu Helenius) writes:
>Kim writes in account.c:
>> if (tm->tm_mon == 3 && tm->tm_mday == 23) return 1; /* my birthday */
>I guess it is today. Happy Birthday, Kim!
>Allu
>--
> (This space intentionally left blank.)
Actually...
Declarations of all the functions and externals, and the tm
structure, are in the <time.h> header file. The structure
(of type) struct tm includes the following fields:
int tm_sec; /* seconds (0 - 59) */
int tm_min; /* minutes (0 - 59) */
int tm_hour; /* hours (0 - 23) */
int tm_mday; /* day of month (1 - 31) */
>>>>>>> int tm_mon; /* month of year (0 - 11) */
int tm_year; /* year - 1900 */
int tm_wday; /* day of week (Sunday = 0) */
int tm_yday; /* day of year (0 - 365) */
int tm_isdst; /* 1 if DST in effect */
char *tm_zone; /* abbreviation of timezone name */
long tm_gmtoff; /* offset from GMT in seconds */
So Kim's BD is next month (April 23). The other birthday mentioned is
12/25, which should be fairly obvious.
*******************************************************************************
* James M. Turner | > (LET ((DISCLAIMER 'INTERLEAF-NOT-RESPONSIBLE)) *
* Senior System Engineer | #'(LAMBDA (FLAME) *
* Interleaf, Inc | (AUTO-INTENSIFY-FLAME FLAME 999))) *
* (617) 290-0710 | #<Lexical Flamage 12342123> *
* turner@HQ.Ileaf.com | > (DO ((FLAMAGE (GET-NEXT-FLAME) (GET-NEXT-FLAME)))*
* uunet!leafusa!turner | ((NOT FLAMAGE)) *
* | (FUNCALL * FLAMAGE)) *
*******************************************************************************
Technical Details
Message-ID:
<1992Mar23.174402.13264@HQ.Ileaf.COM>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!leafusa!turnerReferences:
<ahe.701346602@tkk.tele.fi>Show Full Headers
Complete Article Headers
Message-ID: <1992Mar23.174402.13264@HQ.Ileaf.COM> Subject: Re: Happy Birthday, Kim Date: Mon, 23 Mar 1992 17:44:02 +0000 From: turner@HQ.Ileaf.COM (James Turner) References: <ahe.701346602@tkk.tele.fi> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!leafusa!turner Newsgroups: news.software.nn Organization: Interleaf, Inc.