2027 contains 365 days. It is not a leap year: 2027 is not divisible by four. January 1 falls on Friday; December 31 also falls on Friday. Every grid below is Monday-first.
Each month lists the weekday of its first and last day and two natural row counts. Mon means Monday-first; Sun means Sunday-first. Neighboring-month overflow dates preserve continuous weeks.
02 / A reproducible calculation
Gregorian leap years are divisible by four, except century years unless divisible by 400. Use integer civil-date arithmetic for weekdays rather than local-midnight timestamps: a timezone conversion should never change a printed date. Offset = (first weekday − chosen origin + 7) mod 7; rows = ceil((offset + month length) / 7).
03 / Cross-checks
The month lengths total 365. February has 28 days; April, June, September and November have 30; the remaining seven months have 31. The first weekday of each month advances by the previous month’s length modulo seven.