On Wed, May 26, 2010 at 6:41 AM, Matthew Woodward <[email protected]> wrote:
>> Data not supported: Cannot convert to number ({ts '2010-07-29
>> 00:00:00'}).
> And you're saying that works on CF 7? Seems odd that would work since that
> timestamp isn't a number.

Adobe ColdFusion implicitly converts dates to integers:

<cfset d = createDate(2010,7,29)/>
<cfset n = 0 + d />
<cfdump var="#variables#"/>

You'll get 40388 for n. We had to implement it in Railo for compatibility... :(
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to