Perhaps LSDateFormat would be more reliable with locale-specific date
formatting and parsing?

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functa28.htm
 

I don't know enough about local specific stuff in CF, but just a
thought...

-dov

-----Original Message-----
From: Micha Schopman [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 03, 2005 8:14 AM
To: CF-Talk
Subject: RE: QofQ, buggy behaviour

But still buggy .. this really is annoying.

A simple datatime formatting of datelastmodified throws an error just at
random dates.

<cfdirectory action="list" name="qryDirectoryContent" directory="c:\"
sort="name">
<cfoutput query="qryDirectoryContent">
#DateFormat(datelastmodified,"yyyy-mm-dd")#
</cfoutput>

coldfusion.runtime.Cast$DateStringConversionException: The value
&quot;woensdag 8 september 2004 12:57:01 uur CEST&quot; could not be
converted to a date.


Euhm .. okay.. 

Micha Schopman
Project Manager

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort Tel 033-4535377, Fax
033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to