note 33048 deleted from function.strftime by derick
| From: | derick@php.net | Date: | Sun, 14 Aug 2005 12:04:24 +0000 |
| Subject: | note 33048 deleted from function.strftime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93627@lists.php.net to get a copy of this message | ||
Note Submitter: rchavezc at ameritech dot net
----
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