Path: utzoo!utgpu!jarvis.csri.toronto.edu!torsqnt!tmsoft!masnet!canremote!erc@khijol.uucp From: erc@khijol.uucp@canremote.uucp (erc@khijol.UUCP) Newsgroups: comp.lang.c Subject: Re: Computing Day of the Week Message-ID: <89122504120560@masnet.uucp> Date: 21 Dec 89 05:03:00 GMT Organization: Canada Remote Systems Limited, Mississauga, ON, Canada Lines: 29 From: erc@khijol.UUCP (Edwin R. Carp) Orga: Deadly Force, Inc., aka Clint Eastwood School of Diplomacy 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 --- * Via MaSNet/HST96/HST144/V32 - UN C Language * Via Usenet Newsgroup comp.lang.c