note 33048 added to function.strftime

From: Date: Sun, 15 Jun 2003 04:03:51 +0000
Subject: note 33048 added to function.strftime
Groups: php.notes 
Request: Send a blank email to php-notes+get-50360@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.strftime.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33048 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33048&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33048&report=yes

« previous php.notes (#50360) next »