🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.headers
Article #68

Date -> time(2)

#68
From: Jon Boede
Date: Thu, 12 Oct 1989 00:30
23 lines
1570 bytes
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.  The messages envelopes on the other side of a gateway I'm in
charge of use a long instead of the ASCII date -- currently we're using the
date the letter arrived at the gateway as the "Date:" which, given the speed
of most Internet letters, is pretty good... but, not always.

The variety among Date: lines is even more frightening than From: lines. :-)

If anyone has a piece of code written, please mail me.  If anyone WANTS this
code, mail me as well... I'll have to write it if I don't get somebody else's,
and I'll be happy to re-distribute.

Please mail to jon@bodedo.ucm.org as I hardly ever get a chance to read news
these days (sigh).

Thanks!
-- -  -   -    -     -      -       -        -         -          -
Jon Boede					jon@bodedo.ucm.org
7117 Wood Hollow #726		...!{uunet,texbell}!cs.utexas.edu!bodedo!jon
Austin, TX  78731-2548				+1 512 346-3142
	"People who are incapable of making decisions are
	 the ones that hit those barrels at freeway exits"
Technical Details
Message-ID: <19481@ut-emx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!ut-emx!walt.cc.utexas.edu!jon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!ut-emx!walt.cc.utexas.edu!jon
From: jon@walt.cc.utexas.edu (Jon Boede)
Newsgroups: comp.mail.headers,comp.lang.c
Subject: Date -> time(2)
Message-ID: <19481@ut-emx.UUCP>
Date: 12 Oct 89 00:30:59 GMT
Sender: news@ut-emx.UUCP
Reply-To: jon@walt.cc.utexas.edu (Jon Boede)
Organization: The People's Republic of Austin, Texas
Lines: 23