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!

Subtract 1 hour from server time

Status
Not open for further replies.

primagic

IS-IT--Management
Joined
Jul 24, 2008
Messages
476
Location
GB
My server is hosted in Europe and all the getdate() functions pull through the server time which is 1hour ahead of GMT.

How can I set a field with a default value of getdate() to getdate() - 1 hour.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top