<?php $first_day_of_week = date('l', strtotime('9/2/2013')); $date = intval(date('j', strtotime('9/2/2013'))); if ($date <= 7 && $first_day_of_week == 'Monday') { // It's the first Monday of the month. echo "this is the first day of the week"; } ?>
You have javascript disabled. You will not be able to edit any code.