- date: documentation ( source)
- strtotime: documentation ( source)
<?php
$time = strtotime("first Monday of ".$monthname." ".$year);
while($time <= strtotime("last Monday of ".$monthname." ".$year)) {
echo date('jS',$time)." ".$monthname;
$time += (7*24*60*60); //Advance One Week.
}
?>