note 31740 added to function.time

From: Date: Fri, 02 May 2003 04:52:56 +0000
Subject: note 31740 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-47371@lists.php.net to get a copy of this message
About the 10-Apr-2003 and 19-Apr-2003 comments. I find that my machine does not return GMT time. I check this by doing the following: strftime ("%B %d, %Y", time()); gmstrftime ("%B %d, %Y", time()); strftime returns the currect date, gmstrftime returns a day ahead if the current time is later then 5:00pm (in MST), it would depend on the timezone. This is problematic for me because I have no way of getting the correct gmt timestamp. -- http://www.php.net/manual/en/function.time.php http://master.php.net/manage/user-notes.php?action=edit+31740 http://master.php.net/manage/user-notes.php?action=delete+31740 http://master.php.net/manage/user-notes.php?action=reject+31740

« previous php.notes (#47371) next »