Hi
While google if found your page
Could you help us some logic in PHP where we struck : how to synchronize server time with client in PHP.
Regards
Nitin
Hi
While google if found your page
Could you help us some logic in PHP where we struck : how to synchronize server time with client in PHP.
Regards
Nitin
[php]date_default_timezone_set(‘America/Detroit’); // Set the Default Time Zone:[/php]
http://php.net/manual/en/function.date-default-timezone-set.php
Of course this would only do it for you timezone there is a way to do using JavaScript and PHP…Hold on while I did up the script(s).
Darn it >:( I had a nice example of using jsTimezoneDetect - Do a Google Search you’ll be able to find some good examples.
Here’s one line I found - http://stackoverflow.com/questions/13339086/php-timestamp-date-to-user-timezone