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

  1. Xref: sparky comp.unix.programmer:4048 comp.unix.questions:9654
  2. Path: sparky!uunet!mcsun!uknet!root44!datlog!smawer
  3. From: smawer@datlog.co.uk (Steve Mawer)
  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: <Bs8uw4.Jyv@datlog.co.uk>
  7. Date: 31 Jul 92 08:14:28 GMT
  8. References: <1992Jul28.072025.13886@cssc-syd.tansu.com.au> <1992Jul29.031546.26997@bnd2.bnd.oz.au> <Bs7E0r.Gpq@cck.coventry.ac.uk>
  9. Organization: Data Logic Limited
  10. Lines: 17
  11.  
  12. ccx018@cch.coventry.ac.uk (Leslie Griffiths (Griff)) writes:
  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. >>>     Having done this, just set a macro for the length (in seconds) of one
  18. >>> day:
  19. >>>        #define ONE_DAY    ((60) * (60) * (24))
  20. >Call me stupid, but I thought the number of seconds in a day was constant.
  21. >i.e.
  22. >    #define ONE_DAY 86400
  23.  
  24. Okay stupid :-)  But think how easy Bernd's macro is to maintain should, say,
  25. the number of minutes in an hour change.  *You'd* have to recalculate. :-)
  26. -- 
  27. Steve C. Mawer       < smawer@datlog.co.uk> or < {backbone}!ukc!datlog!smawer >
  28.                Voice:  +44 81 863 0383 (x2139)
  29.