note 119521 deleted from function.strtotime by cmb

From: Date: Sun, 13 Sep 2020 09:32:40 +0000
Subject: note 119521 deleted from function.strtotime by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215111@lists.php.net to get a copy of this message
Note Submitter: Sooraj dot abbasi at gmail dot com ---- Here is some code may be helpful for developers. I am setting a date interval of one month in my current date for next three years. and here is my code for that. <?php $date='4-4-2016';// your start date. for($i=0;$i<=36;$i++) { $d = new DateTime($date); $d->modify('+1 months'); echo $date=$d->format('d-m-Y'); echo "<br>"; } ?>

« previous php.notes (#215111) next »