Return to Snippet

Revision: 25006
at March 17, 2010 14:50 by darokin


Initial Code
$nbDays		= 15;
$dateBase	= time();
$dateNew	= date("Ymd", $dateBase - (86400 * $nbDays));

Initial URL

                                

Initial Description

                                

Initial Title
PHP Date moins / plus n jours / mois

Initial Tags
php, date

Initial Language
PHP