Click to See Complete Forum and Search --> : formatting dates


jrthor2
07-09-2007, 02:45 PM
How would I format a date, for example the current date, like the below:

Wed, 02 Oct 2002 08:00:00 EST

Thanks.

veggieCoder
07-09-2007, 07:03 PM
This might be useful...

http://www.ilovejackdaniels.com/asp/vbscript-date-format-functions/

buntine
07-10-2007, 09:20 PM
Use the FormatDate function of VBScript. :)

FormatDate(Date,1)

Cheers.

jrthor2
07-11-2007, 06:38 AM
that doesn't work for me for what I am doing. I am creating an rss feed, and the dates need to be in RFC-822 date-time format. Any other suggestions?

jrthor2
07-11-2007, 07:19 AM
I found a function to convert dates to the format I need. Thanks.