What version of coldfusion are you running?  If CF7 or below, what
version of the JVM are you using?

Run the following code and see what the output is:

<cfset foo = now()>
<cfoutput>#int((foo.getTime())/1000)#<br/></cfoutput>
<cfoutput>#DateDiff("s", "January 1 1970 00:00", foo)#<br/></cfoutput>
<script type="text/javascript">
<cfoutput>var foo = Date.parse('#dateFormat(foo,'mmmm d, yyyy')#
#timeFormat(foo,'HH:mm:ss')#');</cfoutput>
document.writeln(foo/1000);
</script>

On my machine (CF8 on Windows), they produce the same results.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287403
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to