timezone configured incorrectly

Status
Not open for further replies.

alexxblade85

New Member
Messages
4
Reaction score
0
Points
0
By running date_default_timezone_get(), I found out that the server timezone is configured as America/New_York but the time seems to be off by one hour. As I'm in a different timezone I use date_default_timezone_set('America/Sao_Paulo') to set it and the time I get is one hour fast. Is there a way to fix this?

Without setting a different time zone, my script shows that current time is 11:57, but actual time in New York is 10:57.
 
Last edited:
Status
Not open for further replies.
Top