<?
include_once 'date.class.php';
// If array provided
$date = new DateManipulation();
$dates = $date->getDate(array(2,5,7)); // --- 2,5,7 days of the week
var_dump($dates);
// If string
$date = new DateManipulation();
$dates = $date->getDate(4); // 4 - day of the week
echo $dates;
?>
|