note 15366 added to function.date

From: Date: Thu, 06 Sep 2001 20:23:44 +0000
Subject: note 15366 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-17741@lists.php.net to get a copy of this message
// goes to one year ago, then puts the date back to the first day of that month $RepStartDate = mktime (0,0,0,date("m")-12,date("d"), date("Y")); $RepStartDate = date("m-d-Y",mktime (0,0,0,date("m",$RepStartDate),1, date("Y",$RepStartDate))); http://www.php.net/manual/en/function.date.php

« previous php.notes (#17741) next »