note 109346 added to function.time

From: Date: Mon, 09 Jul 2012 11:48:45 +0000
Subject: note 109346 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-189073@lists.php.net to get a copy of this message
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'); ---- Server IP: 87.124.126.49 Probable Submitter: 82.39.140.230 ---- Manual Page -- http://www.php.net/manual/en/function.time.php Edit -- https://master.php.net/note/edit/109346 Del: integrated -- https://master.php.net/note/delete/109346/integrated Del: useless -- https://master.php.net/note/delete/109346/useless Del: bad code -- https://master.php.net/note/delete/109346/bad+code Del: spam -- https://master.php.net/note/delete/109346/spam Del: non-english -- https://master.php.net/note/delete/109346/non-english Del: in docs -- https://master.php.net/note/delete/109346/in+docs Del: other reasons-- https://master.php.net/note/delete/109346 Reject -- https://master.php.net/note/reject/109346 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189073) next »