DateFormat, CreateDate or CreateODBCDate will do that. You just have to
specify the mask on your own.

DateFormat(Now(),'yyyymmdd')&TimeFormat(Now(),'hhss')

Would return

20070717090133

-----Original Message-----
From: Bosky, Dave [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 8:42 AM
To: CF-Talk
Subject: RE: Current time in seconds

Yeah. I was looking to get the current date/time in a unix timestamp format.
I looked around cflib but didn't see anything. 

-----Original Message-----
From: Bosky, Dave [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 17, 2007 9:17 AM
To: CF-Talk
Subject: Current time in seconds

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?

Thanks,
Dave

**********************************************************************
HTC Disclaimer:  The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.  Thank you.
**********************************************************************






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

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

Reply via email to