Current time in seconds

2007-07-17 Thread Bosky, Dave
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

Re: Current time in seconds

2007-07-17 Thread Crow T. Robot
Seconds in reference to what? Since the beginning of time? The beginning of this year? This month, today? Five minutes ago? On 7/17/07, Bosky, Dave [EMAIL PROTECTED] wrote: Are there any date/time functions that will display the current date/time in seconds? Also a function to format

Re: Current time in seconds

2007-07-17 Thread Christopher Jordan
Try DateFormat(); Chris On 7/17/07, Bosky, Dave [EMAIL PROTECTED] 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? Thanks, Dave

RE: Current time in seconds

2007-07-17 Thread Andy Matthews
Not built in. But I'll bet you could find one on CFLib.org. And what do you mean by current time in seconds? Are you talking about like a unix timestamp? -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 8:17 AM To: CF-Talk Subject: Current

RE: Current time in seconds

2007-07-17 Thread Robert Harrrison
/or... It must be . -Original Message- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 17, 2007 9:23 AM To: CF-Talk Subject: Re: Current time in seconds Try DateFormat(); Chris On 7/17/07, Bosky, Dave [EMAIL PROTECTED] wrote: Are there any date/time functions

RE: Current time in seconds

2007-07-17 Thread James Smith
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

RE: Current time in seconds

2007-07-17 Thread Bosky, Dave
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

RE: Current time in seconds

2007-07-17 Thread Ben Nadel
] 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

RE: Current time in seconds

2007-07-17 Thread Peterson, Chris
: 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 ~| Create robust enterprise, web RIAs

RE: Current time in seconds

2007-07-17 Thread Andy Matthews
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

Re: Current time in seconds

2007-07-17 Thread Paul Hastings
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

Re: Current time in seconds

2007-07-17 Thread James Wolfe
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