LSParseDateTime error
Hi
I keep getting an error when trying to parse a date using LSParseDateTime on a CF7 server. If I test the same code locally (CF8 developer) it works fine.
This is the code:
<cfset temp = SetLocale("English (UK)")>
<cfset tdate = "Wed, 26 Aug 2009 21:10:11 +0000">
<cfoutput>
Locale = #GetLocale()#
<br />
IsDate #IsDate(tdate)#
<br />
Parse #ParseDateTime(tdate)#
<br />
LS Parse #LSParseDateTime(tdate)#
</cfoutput>
The code gives the error
"Wed, 26 Aug 2009 21:10:11 +0000" is an invalid date or time string."
Does anyone have any idea how to fix this?Thanks
Paul
