note 103163 deleted from function.date by tularis

From: Date: Thu, 09 Feb 2012 20:51:32 +0000
Subject: note 103163 deleted from function.date by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185959@lists.php.net to get a copy of this message
Note Submitter: ivan at rayvanbros dot com ---- If you are simply trying to generate a date set in the future (for example, to setup a conditional to check if a value was created a month ago). You can use this. <?php print date('m-d-Y',strtotime('+1 month', '1301413787')); // generates 04-29-2011 ?> This syntax was not noted in an easy to read place within the strtotime() or date() function pages, so just adding as note.

« previous php.notes (#185959) next »