Add 3 hours to Now()

This is a discussion on Add 3 hours to Now() within the Cold Fusion forums in Application Servers & Tools category; My host is 3 hours behind us. My client wants a timestamp (eastern time) on emails notifying changes in the system. How can I add 3 hours to now in a TimeFormat()? Thanks...

Go Back   Application Development Forum > Application Servers & Tools > Cold Fusion

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 03:37 PM
projectproofing
Guest
 
Default Add 3 hours to Now()

My host is 3 hours behind us. My client wants a timestamp (eastern time) on emails notifying changes in the system.
How can I add 3 hours to now in a TimeFormat()?

Thanks
Reply With Quote
  #2  
Old 08-27-2008, 03:49 PM
Dan Bracuk
Guest
 
Default Re: Add 3 hours to Now()

Step 1 - use datediff to add the 3 hours
Step 2 - format the result with dateformat and timeformat.

All three functions are described in the cfml reference manual. If you don't
have one, the internet does.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:09 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.