🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #146693

Semi-OT: Best way to parse NNTP Dates?

#146693
From: Lucas Tam
Date: Mon, 19 Apr 2004 16:48
13 lines
1526 bytes
Hi all,

Is there an algorithm online in Java, C#, or VB.NET that shows how I can 
parse NNTP dates effectively? There seems to be so many different formats.

Also, an algorithm for parsing the FROM field would be appreciated as well.

Thanks.

-- 
Lucas Tam (REMOVEnntp@rogers.com)
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/
Technical Details
Message-ID: <Xns94D0825A3C231nntprogerscom@140.99.99.130>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns94D0825A3C231nntprogerscom@140.99.99.130>
Subject: Semi-OT: Best way to parse NNTP Dates?
Date: Mon, 19 Apr 2004 16:48:32 GMT
From: Lucas Tam <REMOVEnntp@rogers.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!nntp.giganews.com!newsfeed3.easynews.com!easynews.com!easynews!easynews-local!news.easynews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: None of Your Business!!!
User-Agent: Xnews/06.08.25
X-Face: #gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX; SjezglosS.OP?:tzhHT7o=G03o0%St#;
 xTbMCCP'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D"; gSvoEpfd
Reply-To: REMOVEnntp@rogers.com
Lines: 13
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise
 we will be unable to process your complaint properly.