note 108664 deleted from function.time by danbrown

From: Date: Wed, 16 May 2012 00:04:51 +0000
Subject: note 108664 deleted from function.time by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-188002@lists.php.net to get a copy of this message
Note Submitter: brett at brettbrewer dot com ---- 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");

« previous php.notes (#188002) next »