Trying to determine how many 'selling' days left in a month
Posted on 2013-10-26
Our business isn't open on Sundays. In my app I need to show how many selling days are left in the month (days we are open). Currently you can show how many days left in a month using something like this:
<?php echo date('t') - date('j');?>
But how could I take into account Sundays?