Perpetual Calendar

Displays the calendar for any year from 1 to 9999.

Just enter the year you want in the input box at the top and hit return.

Strictly speaking, it isn't historically accurate since it just extends the Gregorian calendar all the way back to year 1, but going forward, it should be fine.

Source code