home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 4013 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  1.2 KB

  1. Xref: sparky comp.unix.programmer:4013 comp.unix.questions:9576
  2. Path: sparky!uunet!mcsun!uknet!warwick!coventry!ccx018
  3. From: ccx018@cch.coventry.ac.uk (Leslie Griffiths (Griff))
  4. Newsgroups: comp.unix.programmer,comp.unix.questions
  5. Subject: Re: Need (today's date - 2 WORKING days) [was: Need (today's date + [1-7]]
  6. Message-ID: <Bs7E0r.Gpq@cck.coventry.ac.uk>
  7. Date: 30 Jul 92 13:12:27 GMT
  8. References: <1992Jul28.072025.13886@cssc-syd.tansu.com.au> <1992Jul29.031546.26997@bnd2.bnd.oz.au>
  9. Sender: news@cck.coventry.ac.uk (news user)
  10. Organization: Coventry University
  11. Lines: 23
  12. Nntp-Posting-Host: cc_sysh
  13.  
  14. In article <1992Jul29.031546.26997@bnd2.bnd.oz.au> johnw@bnd2.bnd.oz.au (John Warburton) writes:
  15. >From article <1992Jul28.072025.13886@cssc-syd.tansu.com.au>, by colinl@cssc-syd.tansu.com.au (Colin Lynch):
  16. >> bernie@metapro.DIALix.oz.au (Bernd Felsche) writes:
  17. >> 
  18. >> 
  19. >>     Having done this, just set a macro for the length (in seconds) of one
  20. >> day:
  21. >> 
  22. >>        #define ONE_DAY    ((60) * (60) * (24))
  23. >> 
  24.  
  25. Call me stupid, but I thought the number of seconds in a day was constant.
  26.  
  27. i.e.
  28.  
  29.     #define ONE_DAY 86400
  30.  
  31. Cheers
  32.  
  33. -- 
  34. Griff                \\             ccx018@uk.ac.cov
  35. ^^^^^                        :-=           ^^^^^^^^^^^^^^^^
  36.                     //
  37.