Monday, June 14

Highchart JS: Setting up PHP timezone

I have a problem when converting date-time store in MySQL (in this format (Y-m-d H:i:s)) to unix timestamp by using strtotime

The server that i used to host set the date_default_timezone_set to "Asia/Kuala_Lumpur" and i notice when capturing current time, the output will display 1 day backdate.

To solve this, you must set the time zone to



No comments: