note 49041 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 14 Aug 2005 11:56:49 +0000 |
| Subject: | note 49041 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93599@lists.php.net to get a copy of this message | ||
Note Submitter: skeets011 at skeets011 dot com
----
If you are using strtotime to compare times such as if building a scheduling script, keep in mind
that if you enter in a time only, such 12:00pm and it is already past that time, the timestamp
returned will be for 12:00pm the next day. A workaround would be
strtotime("12:00pm",strtotime("today"))