I have centos server and i rechanged the time to NewYork time by date cmd. Also i change in php.ini the "date.timezone = "America/New_York"" When i enter the command date in the command shell. i get the real time in new york. But when I do
对应日期:“Y-m-d H:i:s”
The time isn t right! I always get 6 hours less then the time in New York. Please help? I tried already using date_default_timezone_set( America/New_York ); in the code with no help. waiting for a response. Thanks! Koren Or