Stop hard-coding holidays: 4 free calendar datasets for developers ToolWix released four free calendar datasets as plain CSV and JSON under a CC BY 4.0 license, covering business days and payroll schedules for 2026-2030, DST clock changes across IANA zones, a day-by-day Nepali Bikram Sambat calendar from 2000-2090 BS, and seven world calendars side by side. The datasets are hosted on GitHub and Hugging Face, carry Zenodo DOIs for version pinning, and include a 'verified' flag distinguishing government-checked years from rule-based ones. The company notes the data ends in 2030 and that code should raise errors for out-of-range dates rather than treating them as ordinary days. Date bugs rarely show up on the day you write the code. They show up on a holiday, on a clock-change weekend, or when someone needs a calendar your library does not have. We publish four calendar datasets as plain CSV and JSON, generated from the same code as the date tools on ToolWix https://toolwix.com/ disclosure: that is our site . They are CC BY 4.0, so commercial use is fine with credit. | Dataset | Covers | Links | |---|---|---| | Business days and payroll | 2026-2030; US, UK 3 regions , Canada, Australia | GitHub https://github.com/toolwix/business-days-dataset , Hugging Face https://huggingface.co/datasets/toolwix/business-days | | DST clock changes | 2026-2030; every IANA zone that changes | GitHub https://github.com/toolwix/dst-transitions-dataset , Hugging Face https://huggingface.co/datasets/toolwix/dst-transitions | | Nepali Bikram Sambat calendar | 2000-2090 BS, day by day | GitHub https://github.com/toolwix/nepali-calendar-dataset , Hugging Face https://huggingface.co/datasets/toolwix/nepali-calendar | | World calendars | 2026-2030; seven calendars side by side | GitHub https://github.com/toolwix/world-calendars-dataset , Hugging Face https://huggingface.co/datasets/toolwix/world-calendars | The examples below use pandas and read straight from GitHub. python from datetime import date, timedelta import pandas as pd BASE = "https://raw.githubusercontent.com/toolwix" holidays = pd.read csv f"{BASE}/business-days-dataset/main/public-holidays.csv" us = set holidays.loc holidays.region == "us", "date" def add business days start, n : day = start while n 0: day += timedelta days=1 if day.weekday < 5 and day.isoformat not in us: n -= 1 return day print add business days date 2026, 12, 23 , 3 2026-12-29 Only national holidays are included, and the data ends in 2030. In real code, raise an error for dates outside the range instead of treating them as ordinary days. paydays = pd.read csv f"{BASE}/business-days-dataset/main/paydays.csv" moved = paydays paydays.region == "us" & paydays.schedule == "weekly" & paydays.moved print moved "scheduled date", "pay date", "holiday" .head .to string index=False The rule here is "pay on the previous business day". That is a common convention, not a law. dst = pd.read csv f"{BASE}/dst-transitions-dataset/main/dst-transitions.csv" rows = dst dst.zone.isin "America/New York", "Europe/London" & dst.year == 2027 print rows "zone", "transition utc", "direction" .to string index=False In 2027 the US moves forward on 14 March and the UK on 28 March. They move back on 31 October UK and 7 November US . A recurring 9:00 New York meeting lands at a different London time in between. Bikram Sambat month lengths do not follow a formula, so a lookup table is the practical way. js const url = "https://raw.githubusercontent.com/toolwix/nepali-calendar-dataset/main/nepali-calendar-daily.csv"; const text = await await fetch url .text ; const toBS = new Map text.trim .split /\r?\n/ .slice 1 .map line = { const ad, , bs = line.split "," ; return ad, bs ; } ; console.log toBS.get "2026-04-14" ; // 2083-01-01 For production, bundle a copy of the file rather than fetching it from GitHub at run time. python from datasets import load dataset months = load dataset "toolwix/business-days", "by month", split="train" verified column says whether a region and year were checked against the official government calendar. false means rule-based, so one-off holidays may be missing. Pin a version if your results must be reproducible. Each dataset has a DOI on Zenodo: business days https://doi.org/10.5281/zenodo.24710395 , DST https://doi.org/10.5281/zenodo.24710405 , Nepali https://doi.org/10.5281/zenodo.24710413 , world calendars https://doi.org/10.5281/zenodo.24710417 . If you find a wrong date, tell us through the contact page https://toolwix.com/contact/ . What calendar data do you keep rebuilding in your own projects?