Hi all,
In any year calendar, Is there a formula or function to work out when the 1st day of January falls into. eg. 2002, 1st day of January falls into Tuesday?
Many thanks in advance.
This is a discussion on 1st day of January within the C++ Programming forums, part of the General Programming Boards category; Hi all, In any year calendar, Is there a formula or function to work out when the 1st day of ...
Hi all,
In any year calendar, Is there a formula or function to work out when the 1st day of January falls into. eg. 2002, 1st day of January falls into Tuesday?
Many thanks in advance.
The doomsday algorithm here
http://www.interlog.com/~r937/doomsday.html
Or Zeller's here
http://wwwcdf.pd.infn.it/MLO/Calendars/Notes.html