Time screwed up?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Time screwed up?

Post by HiddenS3crets »

Time is returning 1 hour, 8 minutes ahead of what the actual time is.

ex. current time is 9:15, my php code outputs 10:23

I'm assuming this is a problem with my host?
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

that's what I'd assume. Is your host in the same time zone?
HiddenS3crets
Forum Contributor
Posts: 119
Joined: Fri Apr 22, 2005 12:23 pm
Location: USA

Post by HiddenS3crets »

yea, and if they were an hour ahead of me, they'd be located on some remote island in the middle of the ocean 8O lol
User avatar
trukfixer
Forum Contributor
Posts: 174
Joined: Fri May 21, 2004 3:14 pm
Location: Miami, Florida, USA

Post by trukfixer »

could be they forgot to set daylight savings time back .. either that or they dont have ntpd running to automatically update time .. (if its a linux box) .. had a similar issue with a client who moved to our hosting because his old hosts just didnt think it was a problem.. (they didnt care..) oh well.. :)
Post Reply