Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!wuarchive!texbell!bigtex!natinst!rpp386!puzzle!khijol!erc From: erc@khijol.UUCP (Edwin R. Carp) Newsgroups: comp.lang.c Subject: Re: Computing Day of the Week Keywords: given month and day Message-ID: <660@khijol.UUCP> Date: 19 Dec 89 01:42:59 GMT References: <1894@ntmtka.mn.org> <365@anacom1.UUCP> <1503@utkcs2.cs.utk.edu> Reply-To: erc@khijol.UUCP (Edwin R. Carp) Distribution: usa Organization: Deadly Force, Inc., aka Clint Eastwood School of Diplomacy Lines: 21 In article <1503@utkcs2.cs.utk.edu> battle@alphard.cs.utk.edu (David Battle) writes: > >While we're on the subject, what I would like to get my hands on is the >source to the ctime(3) function and the date(1) program, or some reasonable >facsimile(s) thereof. In particular, something that handles timezones and >daylight savings time. No, you don't. I've looked at the source for date(1), and it's HORRIBLE. Yuck! You're better off writing your own... --------------------------- discard all after this line ----------------------- Ed Carp N7EKG/5 (28.3-28.5) ...!attctc!puzzle!khijol!erc (home) (512) 832-5884 Snail Mail: 2000 Cedar Bend Dr., #335, Austin, TX 78758 [Disclaimer: The information contained in this message is soley for informa- tional purposes only. Use at your own risk. No warranty expressed or implied.] "You may think you're smart, Pierce, but you're DUMB! Real DUMB! But, you've met your match in ME!" - Col. Flagg "Good tea. Nice house." -- Worf