note 109346 deleted from function.time by danbrown
| From: | danbrown@php.net | Date: | Mon, 16 Jul 2012 15:41:25 +0000 |
| Subject: | note 109346 deleted from function.time by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-189206@lists.php.net to get a copy of this message | ||
Note Submitter: jason dot judge at academe dot co dot uk
----
I was reading the post from March showing how to get the first day of the next month as a unix
timestamp integer. It looked a little convoluted, and I suspect will also fail in languages other
than English, as well as the final date format it uses being a little ambiguous (i.e. '99 99
9999'). So I thought I would write my own version. Here it is:
strtotime('first day of next month');