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(); 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 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
Archived
This topic is now archived and is closed to further replies.