Hi Is this a decent way of finding the first monday of each month? It does work; but would there be a better way?
$d1=date("j", strtotime($date)); $d2=date("l", strtotime($date));
if ($d1 <=7 && $d2==Monday) {
..do stuff }
Thanks
-r
simple methods are best, stick with it 🙂
you can also use mktime(); along with date();