Date -> time(2)
Henry Spencer
henry at utzoo.uucp
Fri Oct 13 01:42:52 AEST 1989
In article <19481 at ut-emx.UUCP> jon at walt.cc.utexas.edu (Jon Boede) writes:
>Rather than re-invent the wheel, I'm looking for a piece of code that converts
>the Date field of messages into a nice time(2) style long integer that my C
>program can use...
Check out the getdate() function, shipped with most versions of news
software. It's the de-facto standard for such things. It is not perfect,
but pretty good.
--
A bit of tolerance is worth a | Henry Spencer at U of Toronto Zoology
megabyte of flaming. | uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.lang.c
mailing list