home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15132 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.0 KB  |  30 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!black.nada.kth.se!d88-jwa
  3. From: d88-jwa@black.nada.kth.se (Jon W{tte)
  4. Subject: Re: Look before you Leap
  5. In-Reply-To: suhler@pollux.usc.edu's message of 7 Sep 1992 12:38:35 -0700
  6. Message-ID: <D88-JWA.92Sep8123000@black.nada.kth.se>
  7. Originator: d88-jwa@black.nada.kth.se
  8. Sender: usenet@kth.se (Usenet)
  9. Nntp-Posting-Host: black.nada.kth.se
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. References: <lanbtrINN8tj@pollux.usc.edu>
  12. Date: Tue, 8 Sep 1992 11:30:00 GMT
  13. Lines: 15
  14.  
  15.    A note for those writing programs that calculate future dates:
  16.    unless I'm mistaken, any year which is integrally divisible by 400
  17.    is NOT a leap year.
  18.  
  19. Here we go again.
  20.  
  21. Any year divisible by 100 is NOT a leap year, UNLESS it's
  22. divisible by 400. So 2000 IS a leap year, and the mac
  23. 32-bit second-clock doesn't reach back to 1900 or future
  24. to 2100.
  25.  
  26. -- 
  27. Jon W{tte, h+@nada.kth.se, Sweden, Phone +46-8-107069
  28.  
  29. Help eradicate FIDO-Net <-> Usenet gateways in our time!
  30.