This will return the time stamp from 24 hours ago. Just style it the way you like with DateFormat and you're in business.
This will return the time stamp from 24 hours ago. Just style it the way you like with DateFormat and you're in business.
SWEET. Thanks Paul! /thumbsupsmileyanim.gif" style="vertical-align:middle" emoid=":thumbsani:" border="0" alt="thumbsupsmileyanim.gif" />
I have found that this gets me the date and time right now:
<cfset RightNow = #DateFormat("# Now()#", "yyyy-mm-dd HH:mm:ss")#>
What can I use to get the date and time 24 hours ago, that will also work even if it is 1/1/08 (to get the date and time from 12/31/08)?
It seems to be something with CreateTimeSpan but I can't quite get it down.
Thanks,
Chris
Chris Cummings
Integrity Web Development
Chattanooga Web Service