🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66988

Date Format

#66988
From: aaronb
Date: Wed, 29 Oct 2003 05:01
14 lines
1274 bytes
I am trying to format the Date field of the Header and am having
difficulties. I have a sample of dates from 1 server that look like this:

Wed, 29 Oct 2003 04:23:18 GMT
Wed, 29 Oct 2003 06:59:34 -0000
29 Oct 2003 04:40:12 GMT


What consistent method could I use to change the date format for my program?

Aaron


Technical Details
Message-ID: <3f9f4a6c$0$42783$c3e8da3@news.astraweb.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!opentransit.net!newsfeed.news2me.com!news-small.astraweb.com!news.astraweb.com!news-big.astraweb.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <3f9f4a6c$0$42783$c3e8da3@news.astraweb.com>
Subject: Date Format
Date: Tue, 28 Oct 2003 21:01:24 -0800
From: "aaronb" <borgaaron@yahoo.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!opentransit.net!newsfeed.news2me.com!news-small.astraweb.com!news.astraweb.com!news-big.astraweb.com!not-for-mail
Newsgroups: news.software.nntp
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Lines: 13
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 68c021a8.news.astraweb.com
X-Trace: DXC=@]Q5=4:F5PNYCNS1UYSjAAL?0kYOcDh@JhA9eMG6<7iLjn_G8B0ieAIJ^VUGfQR_RFB\B9_0lKb@CE]F^Q<7ZOKN