home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:4013 comp.unix.questions:9576
- Path: sparky!uunet!mcsun!uknet!warwick!coventry!ccx018
- From: ccx018@cch.coventry.ac.uk (Leslie Griffiths (Griff))
- Newsgroups: comp.unix.programmer,comp.unix.questions
- Subject: Re: Need (today's date - 2 WORKING days) [was: Need (today's date + [1-7]]
- Message-ID: <Bs7E0r.Gpq@cck.coventry.ac.uk>
- Date: 30 Jul 92 13:12:27 GMT
- References: <1992Jul28.072025.13886@cssc-syd.tansu.com.au> <1992Jul29.031546.26997@bnd2.bnd.oz.au>
- Sender: news@cck.coventry.ac.uk (news user)
- Organization: Coventry University
- Lines: 23
- Nntp-Posting-Host: cc_sysh
-
- In article <1992Jul29.031546.26997@bnd2.bnd.oz.au> johnw@bnd2.bnd.oz.au (John Warburton) writes:
- >From article <1992Jul28.072025.13886@cssc-syd.tansu.com.au>, by colinl@cssc-syd.tansu.com.au (Colin Lynch):
- >> bernie@metapro.DIALix.oz.au (Bernd Felsche) writes:
- >>
- >>
- >> Having done this, just set a macro for the length (in seconds) of one
- >> day:
- >>
- >> #define ONE_DAY ((60) * (60) * (24))
- >>
-
- Call me stupid, but I thought the number of seconds in a day was constant.
-
- i.e.
-
- #define ONE_DAY 86400
-
- Cheers
-
- --
- Griff \\ ccx018@uk.ac.cov
- ^^^^^ :-= ^^^^^^^^^^^^^^^^
- //
-