Days Between Dates & Date Offset
ConvertEverything runs locally in your browser — nothing is uploaded
Leave the end date empty to compare against today, which makes “how many days until…” a one-field question.
Find out how far apart two dates are, or push a date forward and backward by a number of days. Each date has two ways in: open the calendar and pick one, or paste text such as 2026-09-18. Leave the end date empty to make today the end point, so "how many days until…" is a single field. Every result updates as you type. Month counts follow the calendar instead of assuming 30-day months, and 31 January plus one month lands on 28 February rather than overflowing into 3 March.
Features
- Gap expressed four ways at once: days, weeks, months, and years-months-days
- Add or subtract days, weeks, months or years from the first date, forwards or backwards
- End-of-month clamping: 31 January plus one month is 28 February (29 in a leap year)
- Business day count (Monday to Friday, with optional extra rest days and an inclusive-ends toggle; public holidays not deducted)
- Intervals spanning a daylight-saving change are still counted in whole days
- Impossible dates such as 30 February raise an error instead of being quietly rolled over
- Leave the end date empty to compare against today; both fields have a Today button
- Pick dates from the native calendar, or paste them as text
- Date serials: ISO week (with the Monday–Sunday span of that week, and the ISO week-year when it differs), day of year, quarter, Julian day number, Unix days, Excel serial
- List every day, week or month between the two dates — truncated with a note past 366 entries
How to use
- Pick a start date from the calendar, or paste one into the text box
- Fill in the end date if you need it — leaving it empty compares against today
- Set the offset amount and unit if you need one
- The gap, the shifted date and the business day count appear as you type
- Click Copy to take the result
FAQ
- Why does the month count differ from days ÷ 30?
- Months have different lengths. The tool counts whole calendar months plus the remaining days: 1 January to 18 September is 8 months and 17 days, which is not what dividing by 30 gives.
- Are public holidays excluded from the business day count?
- No — only Saturdays and Sundays are. Public holidays and substitute days change every year and vary by country, so a built-in list would go stale silently. Subtract them yourself for exact scheduling.
- Why is 30 February rejected?
- Because it does not exist. JavaScript’s Date would quietly turn 2026-02-30 into 2 March, handing you a plausible-looking wrong answer, so this tool refuses the input instead.
- Do timezones and daylight saving affect the result?
- No. Dates are anchored to UTC, which has no daylight saving and therefore always 86,400 seconds per day. Subtracting local dates would give 23- or 25-hour days twice a year and throw the day count off by one.
Related tools
Timestamp Converter
ConvertConvert Unix timestamps into dates and back, telling seconds, milliseconds, microseconds and nanoseconds apart, with Windows FILETIME and decimals.
Cron Parser
ConvertExplain a cron expression field by field and list the next and previous run times, saying plainly when a schedule can never fire.
Unit Converter
ConvertConvert between 26 categories of units — length, weight, temperature, energy, pressure, flow, force, density and more. All in your browser.
Number Base Converter
ConvertConvert numbers between binary, octal, decimal, hex, base 36 and base 64, with long IDs converted digit for digit. Runs in your browser.
Color Converter
ConvertConvert between HEX, RGB, HSL, HWB, CMYK, Lab and OKLCH, with colour temperature, inverse, complement, nearest ANSI colour and WCAG contrast.
CSS Units
ConvertConvert a CSS length between px, rem, em, vw, vh and more. Root font size and viewport are adjustable, and each row says what it assumed.