Solved:

<cffunction name="getTimeInMillis">
        <cfargument name="dateIn" type="date">
        <cfreturn arguments.dateIn.getTime()>
</cffunction>

<cfquery name="q" datasource="ds_web_content">
        select sysdate from dual
</cfquery>

<cfoutput>#getTimeInMillis(q.sysdate)#</cfoutput>

Passing it to that function seems to "cast" it to a date type (even
though IsDate(q.sysdate) returns YES...)

*grumble grumble*

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to