HTML; get the day of the week based on the date entered