Xref: utzoo comp.mail.headers:534 comp.lang.c:22723 Newsgroups: comp.mail.headers,comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Date -> time(2) Message-ID: <1989Oct12.154252.23144@utzoo.uucp> Organization: U of Toronto Zoology References: <19481@ut-emx.UUCP> Date: Thu, 12 Oct 89 15:42:52 GMT In article <19481@ut-emx.UUCP> jon@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@zoo.toronto.edu