Ambiguous Numeric Dates: Normalize to YYYY-MM-DD Before Counting
Resolve ambiguous slash dates, validate calendar days, normalize fixed-width YYYY-MM-DD and distinguish date strings from timestamps and week-date inputs.
Calendar calculations
Choose the calculation that matches your input. These six guides give explicit Gregorian-date rules, checked examples and complete explanations; each resolves a different question.
Resolve a numeric date or a year/day-number input before calculating.
Resolve ambiguous slash dates, validate calendar days, normalize fixed-width YYYY-MM-DD and distinguish date strings from timestamps and week-date inputs.
Convert a year and day-of-year number into a valid date with leap-year examples, inverse checks and a clear distinction from absolute ordinals.
Choose a month policy or combine ranges without double counting.
Compare month-end clamping, rejection and overflow with complete January 31 examples, repeated additions, subtraction and anchor-based schedules.
Count distinct calendar dates in overlapping, nested and adjacent ranges using a complete merge trace, gap checks and original worked examples.
Keep week-year labels separate and verify the whole calendar grid.
Resolve ISO week-year differences at New Year, locate week 1, validate week 53 and reconstruct dates with an original December/January trace.
Check reusable calendar grids using January 1 and leap status, three matching examples and the 2072/2100 counterexample to an every 28 years shortcut.
For a simple fixed-day offset or one pair of dates, open the date and countdown calculators. For an exported recurring event, use the event-rule collection. A calculation does not establish an organization’s legal, holiday, payroll or fiscal-calendar rule.