471,344 Members | 1,566 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

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

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
Aug 4 '05 #1
3 2073
Clinton,

Can't you not use a ToString with a Iformat provider?

http://msdn.microsoft.com/library/de...classtopic.asp

ZuluTime you can get from datetime with

http://msdn.microsoft.com/library/de...tcnowtopic.asp

I hope this helps,

Cor
Aug 5 '05 #2
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/de...matstrings.asp
</quoteRichard>

<%= Clinton Gallagher

"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:eF****************@TK2MSFTNGP12.phx.gbl...
Clinton,

Can't you not use a ToString with a Iformat provider?

http://msdn.microsoft.com/library/de...classtopic.asp

ZuluTime you can get from datetime with

http://msdn.microsoft.com/library/de...tcnowtopic.asp

I hope this helps,

Cor

Aug 5 '05 #3
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
Aug 5 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by ThunderMusic | last post: by
reply views Thread by =?Utf-8?B?QW1pciBUb2hpZGk=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.