note 33086 added to function.strtotime

From: Date: Mon, 16 Jun 2003 13:13:12 +0000
Subject: note 33086 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-50420@lists.php.net to get a copy of this message
The description of strtotime says that it can "Parse about any English textual datetime description into a UNIX timestamp". Be careful, however, when using "plain English". I was puzzled over why strtotime("June 23, 2003 at 12:00PM") returned a timestamp corresponding to 9:00 AM Central Time, until I realized the "at" was being interpreted as Azores Time or GMT+002. Writing strtotime("June 23, 2003 12:00PM") returned the correct timestamp. Rafael ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33086 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33086&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33086&report=yes

« previous php.notes (#50420) next »