doomsday_test, a MATLAB program which calls doomsday(), which 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 GNU LGPL license.
doomsday, a MATLAB library 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.