Location: PHPKode > scripts > Make Days List > make-days-list/example.php
<?

/** 
	 * Example file where you can see the list of days
	 * Author: Maran Emil Cristian
	 * Email: hide@address.com
	 **/

include('ClassMakeDayslist.class.php');

// example
$W_START = "2007-10-11"; // the start date
$W_END = "2007-11-07"; // the end date

$dt = new DateTimeTransform();
$listdate = $dt->GenerateDaysList($W_START,$W_END);  // generate array  list

foreach($listdate as $value){
echo $value."<BR>"; // print all days
	}

?>
Return current item: Make Days List