
Barry Kissane
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:
0Sunday
1Monday
2Tuesday
3Wednesday
4Thursday
5Friday
6Saturday
Check the program by using today's date.
On what day of the week were you born? Check with your parents.
1