Input date and it outputs the day of the week