How to change the time zone according to the client's location

How to change timezone to UTC to browser location. example time - 2014-01-01 10:10:10 (UTC)

I need this, depends on location (depends on the browser)

Is this possible in PHP? Or using JQuery. (JavaScript)


source to share

1 answer

 echo date('d-m-Y H:i:s'); 


Use this function to set the time zone

Check this url for time zones



All Articles