Date: Thu, 20 Jan 2000 19:42:49 +0100
   From: [EMAIL PROTECTED]

   Why? POSIX says 2000 is not a leap year :)

What makes you say that?

POSIX is incorrect because it says that 2100 is a leap year (just in
case you were worried that there wouldn't be a Y2.1K problem).  POSIX
does not say that 2000 is not a leap year.

Here is the conversion rule that POSIX specifies:

time_t == tm_sec + tm_min * 60 + tm_hour * 3600 + tm_yday * 86400
          + (tm_year - 70) * 31536000 + ((tm_year - 69) / 4) * 86400

Ian

Reply via email to