On Sat, 06 May 2000, [EMAIL PROTECTED] (Michael O'Donnell) wrote:
>
>
> Good grief! Did anybody else notice that the bulletin
> from ISS with Message-id: <[EMAIL PROTECTED]>
> was dated Fri, 5 May 100 18:16:49 -0400 (EDT)
The software is undoubtly using the tm_year member of a struct tm.
The tm_year member is "number of years since 1900". This code
demostrates it:
#include <time.h>
main () {
struct tm *now;
time_t sec;
sec = time(0);
now = localtime(&sec);
printf("The year is: %d\n", now->tm_year);
}
I had been using an ancient "smail" mail binary built in 1993 or so for
sending email that had this "bug", and would put the Date year at
"100". I fixed the code and recompiled :-)
Best,
Karl Runge
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************