How can i change Default timezone?


#1

How can i change Default timezone?
Timestamp in database is not what i expect.


#2

@costin said:
How can i change Default timezone?
Timestamp in database is not what i expect.

I think this is NOT POSSIBLE because it requires Root/SSH acess which is disabled on Free Hosting.

Refrence :
https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html



#3

Thank you


#4

If you are using PHP you can change the PHP timezone using:

date_default_timezone_set('TIMEZONECODE');

The PHP timezone code’s can be found at http://php.net/manual/en/timezones.php


#5

In cPanel you can change it if you go to alter php config.


closed #6