Get The Labor Day

 
<?php
print '<table>';
print '<tr><th>Year</th><th>Labor Day</th></tr>';for ($year = 2004; $year <= 2020; $year++) {
    $stamp = mktime(12,0,0,9,1,$year);
    $stamp = strtotime('monday', $stamp);    print "<tr><td>$year</td><td>";
    print date('F j', $stamp);
    print "</td></tr>\n";
}print '</table>';
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.