Hello all.
Is there an easy way to populate this array with only the working days (no
Sat or Sun) from the last 60 days.
for($i = 1; $i <= 60; $i++) {
$pastDates = date("Y-m-d", mktime(0, 0, 0, date("m")-2, date("d")+$i,
date("Y")));
$findPastDates = array($pastDate s);
}
Thanks in advance
Is there an easy way to populate this array with only the working days (no
Sat or Sun) from the last 60 days.
for($i = 1; $i <= 60; $i++) {
$pastDates = date("Y-m-d", mktime(0, 0, 0, date("m")-2, date("d")+$i,
date("Y")));
$findPastDates = array($pastDate s);
}
Thanks in advance
Comment