note 114051 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 14 Dec 2014 11:40:52 +0000 |
| Subject: | note 114051 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201175@lists.php.net to get a copy of this message | ||
Note Submitter: brokndodge at yahoo dot com
----
If you want to add or subtract a strtotime to/from a strtotime:
<?php
$d = strtotime('-1 day',strtotime("first day of last month"))
echo $d
?>