ParseDateTime() can handle that.


<CFSET myDate=ParseDateTime("Thu, 25 Mar 2004 04:28:34 PST")>


--- Ben

  _____  

From: Rich Ziade [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 1:35 PM
To: CF-Talk
Subject: Parsing RFC822 Dates

Hi all:

I'm sure this has been asked before, but what's the easiest way to parse an
RFC822 date string (commonly found in RSS 2.0 feeds). It looks like this:

Sat, 07 Sep 2002 00:00:01 GMT

When I try to just put it through any sort of date manipulation function, I
get the following error:

The value "Thu, 25 Mar 2004 04:28:34 PST" could not be converted to a date.

Any ideas?

Rich
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to