note 82699 deleted from function.strtotime by danbrown

From: Date: Sun, 20 Jul 2008 03:59:32 +0000
Subject: note 82699 deleted from function.strtotime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142100@lists.php.net to get a copy of this message
Note Submitter: Anonymous ---- public function between_dates("Y-m-d", "Y-m-d"){ $array = explode("-", $start); $i = 1; while($start != $to){ $date[] = $start = date("Y-m-d", mktime(1,1,1,$array[1],$array[2] + $i,$array[0])); $i++; } return $date; }

« previous php.notes (#142100) next »