note 65541 deleted from function.strtotime by bjori
| From: | bjori@php.net | Date: | Wed, 03 May 2006 07:18:51 +0000 |
| Subject: | note 65541 deleted from function.strtotime by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110424@lists.php.net to get a copy of this message | ||
Note Submitter:
Reason: in docs
----
Quick code to work out how many days were in the previous month. Other strings eg: 'now -1
month' only returned weird results on version 4.3.9.
<?
$intNumDays = date('t',strtotime('1 month ago'));
?>