Back to Tools & Converters

Date Calculator

NZ date calculator: add or subtract days, weeks, months. Count working days excluding NZ public holidays (Waitangi, ANZAC, Matariki, etc.).

By Konstantin IakovlevPublished 28 March 2026Last reviewed
Data stays on your deviceVerified formula

About this calculator

This calculator uses date arithmetic. Reference: Standard date calculation. Last consulted 8 February 2026.

Calendar arithmetic notes

Gregorian calendar (universal)
  • Days in year: 365 (366 leap)
  • Average days/month: 30.44 (365.25 ÷ 12)
  • Leap year rule: Every 4 yrs, except century unless ÷400
  • Days per quarter: ~91-92
  • NZ working days/year: ~248 (after weekends + public holidays)

Disclaimer

This calculator provides estimates for general information purposes only. Results are based on standard formulas and may not reflect your individual circumstances. Always consult a qualified professional for advice specific to your situation.

How date calculations work

Calendar arithmetic: handles leap years (every 4 years except century unless divisible by 400) and varying month lengths.

  1. 1

    Days between dates

    Difference = (end_date − start_date) in milliseconds ÷ (86,400,000 ms/day)

    86,400,000 = ms per day. Math.floor() rounds down.

  2. 2

    Add days

    New_date.setDate(old_date.getDate() + days)

    JS Date handles month overflow automatically.

  3. 3

    Conversions

    Weeks = days ÷ 7 · Months ≈ days ÷ 30.44 · Years ≈ days ÷ 365.25

    30.44 = avg days/month. 365.25 = avg days/year.

Worked example

Inputs: Days between 1 Jan and 31 Dec 2026

Result: 364 days = 52 weeks = ~12 months.

Frequently Asked Questions

How do I calculate the number of days between two dates?
To calculate the number of days between two dates, subtract the earlier date from the later date. In practice, count the total number of calendar days from the start date up to and including, or excluding, the end date depending on your purpose. Account for leap years: years divisible by 4 have 366 days, with February having 29 days instead of 28. For example, from 1 January to 1 July in a non-leap year is 181 days. The result in days can be converted: divide by 7 for weeks; divide by approximately 30.44 for average months; or divide by 365.25 for approximate years. Online date calculators handle these complexities automatically. Date calculation is useful for counting days until an event, calculating loan terms, or determining age. Source: Standard date arithmetic; Gregorian calendar.
How do NZ public holidays affect working day calculations?
New Zealand has 12 national public holidays per year: New Year's Day and the day after (1 and 2 January), Waitangi Day (6 February), Good Friday, Easter Monday, ANZAC Day (25 April), King's Birthday (first Monday of June), Matariki (a Friday in late June or July), Labour Day (fourth Monday of October), Christmas Day (25 December), and Boxing Day (26 December). When calculating working days between two dates, you must exclude Saturdays, Sundays, and all statutory public holidays. Additionally, each region has one anniversary day public holiday. When a public holiday falls on a weekend, it is typically observed on the nearest weekday (Mondayised). For accurate working-day calculations involving deadlines, legal timeframes, or payroll, always check the current NZ public holiday calendar. Source: Employment NZ employment.govt.nz/leave-and-holidays/public-holidays.
What is a leap year and how do I know if a year is one?
A leap year is a year with 366 days instead of the usual 365, with an extra day added to February (making it 29 days) to keep the calendar aligned with the Earth's orbit around the Sun. The rule for determining a leap year is: a year is a leap year if it is divisible by 4 — except that century years (1800, 1900, 2000, 2100) must also be divisible by 400. So 2024 is a leap year (divisible by 4); 2100 will not be a leap year (a century year not divisible by 400); and 2000 was a leap year (divisible by both 4 and 400). The next New Zealand leap year after 2024 is 2028. Leap years matter in date calculations because February 29 exists only in those years, affecting age calculations, contract durations, and annual event scheduling. Source: Gregorian calendar standard.
How long until the next NZ public holiday?
You can use a date calculator to count the exact number of days from today to the next New Zealand public holiday. The fixed-date national public holidays are: Waitangi Day on 6 February; ANZAC Day on 25 April; Christmas Day on 25 December; and Boxing Day on 26 December. Moveable public holidays include Good Friday, Easter Monday, King's Birthday (first Monday of June), Matariki (a Friday in late June or July determined by the Māori lunar calendar), and Labour Day (fourth Monday of October). New Year's Day falls on 1 January and the day after New Year on 2 January. Regional anniversary days vary by location. When a public holiday falls on a Saturday or Sunday, the observance is typically shifted to the following Monday. Source: Employment NZ employment.govt.nz/leave-and-holidays/public-holidays.

Calculates the number of days, weeks, or months between two dates. Useful for NZ legal calculations, lease periods, notice periods, tax deadlines, and financial planning.

How this calculator works

Date difference = end date minus start date. Business days exclude Saturdays, Sundays, and NZ public holidays. NZ has 11 national public holidays plus Waitangi Day, ANZAC Day, and regional Anniversary Days.

NZ Public Holidays 2026

New Year's Day1 January 2026
Day after New Year's Day2 January 2026
Waitangi Day6 February 2026
Good Friday3 April 2026
Easter Monday6 April 2026
ANZAC Day25 April 2026
King's Birthday1 June 2026
Matariki24 July 2026
Labour Day26 October 2026
Christmas Day25 December 2026
Boxing Day26 December 2026

Each region also has an Anniversary Day (e.g. Auckland 26 Jan, Wellington 22 Jan, Canterbury 11 Nov).

Worked Examples

From 1 April 2026 to 31 March 2027 — one NZ financial year

365 calendar days.

  1. Start: 1 April 2026
  2. End: 31 March 2027
  3. 2026 is not a leap year
  4. Total: 365 days (1 full financial year)

Employment start date 15 March 2026, 4-week notice period

Notice period ends 12 April 2026.

  1. Start of notice: 15 March 2026
  2. Add 4 weeks (28 days)
  3. End date: 15 March + 28 days = 12 April 2026
  4. Note: Good Friday 3 Apr and Easter Monday 6 Apr are public holidays in this period

Built and maintained by Konstantin Iakovlev. Data sourced from the IRD and official New Zealand government sources.

Last reviewed: