Bosky, Dave wrote:
> Are there any date/time functions that will display the current
> date/time in seconds?
> Also a function to format the seconds back to readable format?

if you mean unix offset:

<cfscript>
rightNow=now();
seconds=round(rightNow.getTime()/1000);
</cfscript>

<cfdump var="#seconds#">

drop the round() if you don't mind decimal seconds.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283870
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