cruxaders Posted April 7, 2011 Share Posted April 7, 2011 heres is my code for time but it ddnt the time i get was not same in my computer $date = date("y-d-m") . " at " . date("h:i:s"); $time = time(); Quote Link to comment https://forums.phpfreaks.com/topic/232976-how-i-cna-get-the-time-of-my-computer-or-the-time-for-gmt8/ Share on other sites More sharing options...
bschultz Posted April 7, 2011 Share Posted April 7, 2011 check this: http://www.php.net/manual/en/function.date-default-timezone-set.php Quote Link to comment https://forums.phpfreaks.com/topic/232976-how-i-cna-get-the-time-of-my-computer-or-the-time-for-gmt8/#findComment-1198226 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.