Return Date As: Sat, 07 Sep 2002 00:00:01 GMT

  • Thread starter Thread starter clintonG
  • Start date Start date
C

clintonG

To comply with RSS 2.0 specifications I need to get a date from a calendar
control and reformat to GMT consistent with RFC 822 [1]. I hope somebody can
save me a lot of think-time and point me to a VB/C# class that will take
various date formats and return the date formatted as GMT.

<%= Clinton Gallagher

[1] http://asg.web.cmu.edu/rfc/rfc822.html
 
Thanks Cor. I'll study your referrals.
I've got the following from 'Richard' who responded in another group.

<quoteRichard>
The .NET DateTime class should be able to do what you want, check these
methods:

UtcNow()
ToLocalTime()
ToUniversalTime() {universal time is gmt time}

Also you can parse/format dates in some pretty complicated ways using the
standard and/or custom date formatting strings:

http://msdn.microsoft.com/library/d...ide/html/cpconcustomdatetimeformatstrings.asp
</quoteRichard>

<%= Clinton Gallagher
 
Clinton

universal time = gmt time = Zulu Time

Was you ever in Greenwich it is now in the middle of London, however still
looking very nice.

:-)

Cor
 
Back
Top