Hi,

I tested the following code in OpenBD (JDK 6) and I get a strange
return.

<cfset Data = "10/16/2011">
<cfoutput>#DateFormat(Data,'dd/mm/yyyy')#</cfoutput>

It returns the following error:

Data not supported: Invalid date/time string: 10/16/2011

But the following code works fine:

<cfset Data = "10/15/2011">
<cfoutput>#DateFormat(Data,'dd/mm/yyyy')#</cfoutput>

<cfset Data = "10/17/2011">
<cfoutput>#DateFormat(Data,'dd/mm/yyyy')#</cfoutput>

I am running pt-BR Locale.

Any ideas?

Thanks in advance.

Rogerio

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to