doomsday_test, a C code which calls doomsday(), which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.
The computer code and data files described and made available on this web page are distributed under the MIT license
doomsday, a C code which is given the year, month and day of a date, and uses John Conway's doomsday algorithm to determine the corresponding day of the week.