Data and Math
vcalendar
Leap years, month lengths and the weekday of a given date.
Released v1.0.0 · 2026-09-28use "stdlib/calendar.ven"
Gregorian calendar arithmetic: leap years, the length of a month, the name of a month or a weekday, and the weekday a given day falls on, worked out with Zeller's congruence. It covers the proleptic Gregorian calendar, with no month or year grid rendering.
print isleap(2000)
Reference (5 functions)
API reference
monthrange(year, month)
monthrange(2024, 2)monthcalendar(year, month)
monthcalendar(2024, 2)