note 108664 added to function.time

From: Date: Wed, 16 May 2012 00:04:18 +0000
Subject: note 108664 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-188001@lists.php.net to get a copy of this message
In response to code example for the "time()" function left by "holdoffhunger at gmail dot com" on March 15, 2012, maybe I'm missing the point of your code, but I think this is a much simpler solution to finding the UNIX timestamp for the first day of next month: $timestamp = strtotime("next month"); ---- Server IP: 64.71.164.2 Probable Submitter: 68.228.52.40 ---- Manual Page -- http://www.php.net/manual/en/function.time.php Edit -- https://master.php.net/note/edit/108664 Del: integrated -- https://master.php.net/note/delete/108664/integrated Del: useless -- https://master.php.net/note/delete/108664/useless Del: bad code -- https://master.php.net/note/delete/108664/bad+code Del: spam -- https://master.php.net/note/delete/108664/spam Del: non-english -- https://master.php.net/note/delete/108664/non-english Del: in docs -- https://master.php.net/note/delete/108664/in+docs Del: other reasons-- https://master.php.net/note/delete/108664 Reject -- https://master.php.net/note/reject/108664 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#188001) next »