Day of Week Calculation, http://www.sitepoint.com/php-job-interview-task-day-week-calculation