> Are there any date/time functions that will display the current
> date/time in seconds?

You can use the java date object to get whatever you want. You can use the 
following code to determine the number of milliseconds since since the standard 
base time known as "the epoch", namely January 1, 1970, 00:00:00 GMT. I think 
that may be what you are looking for.

<cfscript>
   someTime = CreateObject("java","java.util.Date").getTime();
</cfscript>
<cfdump var="#someTime#">


> Also a function to format the seconds back to readable format?

TimeFormat(dateVar,"timeMask") works well for formatting times. Offhand, I'd 
say your timeMask would probably be something like "hh:mm:ss tt"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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