Computing Day of the Week

Edwin R. Carp erc at khijol.UUCP
Tue Dec 19 12:42:59 AEST 1989


In article <1503 at utkcs2.cs.utk.edu> battle at 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



More information about the Comp.lang.c mailing list