A SERVICE OF

logo

Barry Kissane
1
CALENDAR
Purpose
Gives the week day for any date, according to the Gregorian calendar, which is in
everyday use today in western countries. The program evaluates a formula that takes
leap years appropriately into account.
Operation
Enter the day, month number and year (all four digits), pressing after each. For
example, 31 August 1949 is entered as .
Important Note: January and February must be entered as the 13th and 14th months of
the previous year. So February 6, 1950 must be entered as 6, 14, 1949 instead of 6, 2,
1950.
The program uses the following codes to report the week day:
0 Sunday
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
Check the program by using today's date.
On what day of the week were you born? Check with your parents.