note 74712 deleted from function.date by danbrown
| From: | danbrown@php.net | Date: | Sun, 20 Jul 2008 02:49:18 +0000 |
| Subject: | note 74712 deleted from function.date by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141991@lists.php.net to get a copy of this message | ||
Note Submitter: jonbarnett at gmail dot com
----
To everyone who is posting functions to parse date strings and turn them into time stamps - please
look at the strtotime() function. It probably already does whatever you're writing a function
to do.
To the person right below me: while your function might be an extremely small bit more efficient,
strtotime() will work just fine.