note 71863 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 15 Jul 2007 12:37:49 +0000 |
| Subject: | note 71863 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128551@lists.php.net to get a copy of this message | ||
Note Submitter: flash at example dot com
----
For those who want to create accurate flags for future dates use:
<?php
strtotime("+1 week 00:00");
?>
Using the "00:00" to specify midnight is handy if you need parts of your script to
activate on specific dates.
Note: Using "00:00" sets the seconds to 00 as well. If you are really picky you could use
"00:00:00"