Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Adjustments

Status
Not open for further replies.

varnix

Programmer
Joined
Jan 7, 2002
Messages
94
Location
US
I have a webserver located in the Pacific Time Zone.

The majority of my users are in the Eastern Time Zone.

How do I adjust the time through CF so that when the server says it is 12:30PM, it says 3:30PM?

I've tried: timeformat(now()+2,"HH:mm:ss") - but that doesn't work.

Any suggestions?
 
Use DateAdd():
Code:
#TimeFormat(DateAdd("h",2,Now()),"HH:mm:ss")#
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top