home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / c / 18422 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.0 KB  |  27 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!uunet.ca!wildcan!sq!msb
  3. From: msb@sq.sq.com (Mark Brader)
  4. Subject: Re: find the number difference of dates
  5. Message-ID: <1992Dec15.192611.11668@sq.sq.com>
  6. Organization: SoftQuad Inc., Toronto, Canada
  7. References: <1992Dec11.103710.1@sysjj.mdcbbs.com>
  8. Date: Tue, 15 Dec 92 19:26:11 GMT
  9. Lines: 16
  10.  
  11. > regardless of leapyears, days in the month, etc: there are always 24 hours
  12. > in a day and 3600 sec in a day.
  13.  
  14. I haven't seen a followup correcting this yet -- perhaps several others
  15. are on their way here.  But in case someone archived the quoted article
  16. and in the future is going to mindlessly copy that conversion factor,
  17. I point out that the last word "day" should be *hour*.  There are 86400
  18. seconds in a day.  (Except for days with leap seconds, but those are
  19. irrelevant to this calculation.)
  20.  
  21. We now return you to Klah. :-)
  22. -- 
  23. Mark Brader, SoftQuad Inc., Toronto        "Beware the Calends of April also."
  24. utzoo!sq!msb, msb@sq.com                -- Peter G. Neumann
  25.  
  26. This article is in the public domain.
  27.