The day for a given date

Feeling Geeky

The inspiration behind this little program is a girl that I used to go to school with, and if you give her a certain date, she will tell you what day of the week that date falls on.

This is a Javascript program to do just that.

Enter the date in the boxes below, click on ‘Calculate Day of Week’, the program will check that no mistakes have been made, and if all is well, the day on which the date falls, will appear in the box below.

The program will only accept a year between 1582 and 9999 (i.e. the Gregorian Calendar).

Enter the date in the boxes belowand then click on the button. The program will check that no mistakes have been made, and if all is well, the day on which the date falls, will appear in the box below.

Day:

Month:

Year:

Output will be displayed here