![]() |
Sergey Kornilov admin 2/21/2011 |
Probably the best approach is to change timezone in php.ini file on the server. date("Y-m-d H:i:s",strtotime("+2 hours")) |
C
|
CodeDog author 2/21/2011 |
Probably the best approach is to change timezone in php.ini file on the server. Another option is to add two hours to default value. Instead of now use the following: date("Y-m-d H:i:s",strtotime("+2 hours"))
date_default_timezone_set('America/Detroit');
|