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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

localtime function 1 hour off on win2k

Status
Not open for further replies.

rmtsmith

MIS
Apr 3, 2002
15
0
0
US
after mar 11 dst, the localtime function is 1 hour behind; win admin says the "patch" was just a register setting change.

Anybody got any ideas
 
You will have to add an hour if tech support can't get the server time working correctly:

localtime(time+3600);


------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top