Date Calculator
From January 15 to October 19, 2026 is 9 months and 4 days, 277 days in total, 39.6 weeks, and 197 business days. January 31 plus 3 months is April 30, 2026, because April has only 30 days. February 29, 2028 plus 1 year lands on February 28, 2029.
| Difference | |
| Total days | |
| Weeks | |
| Business days | |
| Weekday of the end date |
| Result date | |
| ISO format | |
| Weekday | |
| Offset applied | |
| Clamp note |
Calendar days only, with no clock or time zone involved. Business days are Monday to Friday and exclude holidays. All calculations run in your browser, and nothing you type is uploaded or stored.
Two modes in one place: measure the gap between two dates in years, months, days and business days, or add and subtract days, weeks, months and years.
Key takeaways
- January 15 to October 19, 2026 is 9 months 4 days, 277 days, 197 business days
- January 31 plus 3 months lands on April 30, 2026, because April has 30 days
- February 29, 2028 plus 1 year lands on February 28, 2029, the month-end clamp
- Business days count weekdays from the day after the start through the end date
- 2100 is not a leap year; 2028 is, and 2026 is not
On this page
What a date calculator does
Date math runs in two directions, and this page does both. Direction one: you hold two dates and want the distance between them, in years and months and days, in plain days, in weeks, or in business days. Direction two: you hold one date and an offset, and want the date it lands on. Both live in the calculator above, switched by the mode selector.
Specialist pages cover single jobs in more depth: counting days between dates, adding business days to a date, month counts, year counts, and age from a birth date. This page is the general-purpose front door: every mode at once, with the borrow rules and month-end traps written out plainly below.
Difference mode: years, months and days
The years-months-days readout answers the question people ask in plain words: how long has it been. The count works from whole units down. First the full years between the dates, then the full months left over, then the days that do not make a month. January 15, 2026 to October 19, 2026 has no full year in it, then nine full months to October 15, then 4 days more: 0 years, 9 months, 4 days.
The tricky case is a start day that runs past the end of the target month. From March 30 to May 2, 2026, the month count lands on April 30, one day short, so the answer is 1 month and 2 days. The rule: when the day count goes negative, borrow the length of the month immediately before the end month, April with its 30 days here, and use that real length. A flat 30-day borrow is the common bug in hand-rolled date math, and it puts these answers off by a day or two.
Starts on the 29th, 30th or 31st add one more wrinkle. January 31 to March 1, 2026 counts as 1 month and 1 day, because January 31 plus one month lands on February 28, the month-end clamp, and one more day reaches March 1. Date libraries call this clamping, and the calculator above follows the same convention, the one used by most calendar software.
Worked example: January 15 to October 19, 2026
Run the worked example across every unit. Start January 15, 2026, end October 19, 2026, the same defaults as the calculator above.
| Unit | Result |
|---|---|
| Years, months, days | 0 years, 9 months, 4 days |
| Total days | 277 |
| Weeks | 39.6 (39 weeks 4 days) |
| Business days | 197 |
| Start and end weekdays | Thursday to Monday |
Check the arithmetic by hand: 277 / 7 = 39.6 weeks, and 39 x 7 = 273, with 273 + 4 = 277, which is the 39 weeks 4 days restated. The round trip closes too: January 15 plus 9 months lands on October 15, and 4 more days is October 19. Two different routes, one answer, which is the cheap sanity test to run on any date math you did yourself.
Business days and counting conventions
Business days here means weekdays, Monday through Friday, with no holiday calendar attached. The convention: the start date is excluded, the end date is included. From January 16 through October 19, 2026, that window holds 197 weekdays out of 277 calendar days. Roughly five sevenths of any long span is weekdays, and 277 calendar days at that rate lands near 198, so the exact count of 197 passes the smell test.
Counting conventions cause most date disputes. Hotel nights, rental days and interest accrual often count both endpoints, which turns 277 into 278 here. Age counts elapsed time, not the day count people expect. When a contract says 30 days, the document itself decides: calendar days unless it says business days. For a count that skips company holidays too, run the same span through the business days calculator, which takes a holiday list.
Add and subtract mode: the end-of-month rule
Days and weeks are plain arithmetic: October 19, 2026 plus 90 days is January 17, 2027, a Sunday, and March 14, 2026 plus 6 weeks is April 25, 2026, a Saturday. Subtracting runs the other way: March 14, 2026 minus 6 weeks is January 31, 2026. No month rules enter, because weeks and days never touch month boundaries.
Months and years hit month boundaries and need the clamp rule. Add months by moving the month number and keeping the day, and when the target month lacks that day, land on its last day instead. January 31, 2026 plus 3 months points at April 31, which does not exist, so the answer is April 30, 2026, a Thursday. February 29, 2028 plus 1 year points at February 29, 2029, and 2029 is not a leap year, so the answer is February 28, 2029, a Wednesday.
Subtracting months uses the same clamp in reverse: April 30, 2026 minus 1 month is March 30, 2026. The clamp is the standard behavior in mainstream date libraries, and it is what the calculator above does, with a note in the output whenever a date had to be clamped. The alternative some tools use, spilling into the next month, is why the same question can come back with two answers on two sites.
Leap years and the four-century rule
The Gregorian leap rule, straight from the US Naval Observatory: years divisible by 4 are leap years, except century years, which are leap years only when divisible by 400. That single sentence is why 1900 was not a leap year, 2000 was, and 2100 will not be.
| Year | Leap? | Why |
|---|---|---|
| 1900 | No | Century year, not divisible by 400 |
| 2000 | Yes | Century year, divisible by 400 |
| 2024 | Yes | Divisible by 4 |
| 2026 | No | Not divisible by 4 |
| 2028 | Yes | Divisible by 4 |
| 2100 | No | Century year, not divisible by 400 |
Leap days reach into ordinary counting more than you would think. A span that crosses February 2028 carries one more calendar day than the same span in 2027. February 29 birth dates only exist once every four years, so most years the anniversary itself moves: someone born February 29, 2028 turns one on February 28, 2029 under the clamp rule above.
Month lengths and unambiguous dates
The month-length table is the reference behind every rule on this page. Seven months hold 31 days, four hold 30, and February swings. Memorizing which is which is the knuckle trick: list the months on your knuckles and the gaps between them, and the knuckle months are the long ones.
| Month | Days |
|---|---|
| January | 31 |
| February | 28, or 29 in a leap year |
| March | 31 |
| April | 30 |
| May | 31 |
| June | 30 |
| July | 31 |
| August | 31 |
| September | 30 |
| October | 31 |
| November | 30 |
| December | 31 |
Write dates unambiguously while you work. The ISO 8601 international standard sets the order as year, month, day, so 2026-10-19 means October 19, 2026 and never the 10th of the 19th. The calculator above reads and shows ISO format next to the friendly spelling for that reason. Dates here are calendar days with no clock and no time zone attached, which keeps the math from drifting when a span crosses a daylight saving change.
Which date tool to use
One tool, one job, and the specialist pages do their single jobs with more detail than a combined tool should carry. The date of birth calculator deserves a note, because it looks close to this page and is not: it is built around a birth date, returning age in years, the running age countdown and the next birthday, while this page answers general date-distance questions between any two dates, contract deadlines to anniversaries. Different inputs, different outputs, different questions.
Match the question to the page:
| If your question is | Use |
|---|---|
| How many days between two dates? | How many days between two dates? |
| Add business days to a date | Add business days to a date |
| Months only between two dates | Months only between two dates |
| Years only between two dates | Years only between two dates |
| Weekdays minus holidays | Weekdays minus holidays |
| Age from a birth date | Age from a birth date |
| What is 90 days from today | What is 90 days from today |
Frequently asked questions
How do I calculate the difference between two dates?
Enter both dates in difference mode. January 15 to October 19, 2026 is 0 years, 9 months, 4 days, or 277 total days. The full answer also gives weeks and business days.
How do I add months to a date?
Move the month number and keep the day. When the target month lacks that day, land on its last day: January 31, 2026 plus 3 months is April 30, 2026.
What happens when I add a year to February 29?
The clamp rule applies. February 29, 2028 plus 1 year is February 28, 2029, because 2029 has no February 29.
How many days are between two dates?
For the example span, 277. The count excludes the start day and includes the end day, which is the standard convention. Count both endpoints instead and it is 278.
How are business days counted?
Weekdays Monday through Friday, from the day after the start date through the end date. The example span holds 197 of them. Holidays are not excluded, so subtract any that fall inside the span.
Does the count include the start day?
No. A difference of 277 days means the end date is 277 days after the start. Add one day back if your situation counts both endpoints, like hotel nights.
Why does another site give a different month count?
Two common reasons: it may divide total days by 30.44 to fake months, or it may handle month-end starts differently. This page counts calendar months and states the clamp rule it follows.
Is 2100 a leap year?
No. Century years are leap years only when divisible by 400, per the US Naval Observatory. 2000 was a leap year, 1900 and 2100 are not.
How do I subtract days, weeks, months or years?
Switch the direction to subtract. March 14, 2026 minus 6 weeks is January 31, 2026. Subtraction uses the same clamp rule as addition.
What is 90 days from October 19, 2026?
January 17, 2027, and it falls on a Sunday. Add mode with 90 in the days unit gives the date and weekday together.
What is ISO 8601?
The international standard for writing dates: year, month, day, as in 2026-10-19. It removes the ambiguity between month-day and day-month conventions used across countries.
What about time zones and daylight saving?
Dates here are calendar days, with no clock attached, so a daylight saving change inside a span does not shift the count. Only clock arithmetic, like hours between timestamps, needs zone handling.
How do I count weeks between two dates?
Divide total days by 7. The example span is 277 / 7 = 39.6 weeks, which is 39 weeks and 4 days once you split the decimal.
What if I enter the later date first?
The calculator swaps the two dates and counts the positive span, so the answers stay sensible either way.
Does this work for age?
It can compute any two dates, but age has its own conventions, like running age and the next birthday. The date of birth calculator is built for exactly that.
Spotted a wrong number or a broken result?
More Date Time tools
- 1 Hour From Now
- 1 Month Notice Period Calculator
- 1/8 Mile Time Calculator
- 10 Hours From Now
- 10 Minutes Ago
- 10 Weeks Ago From Today
- 11 Hours From Now
- 12 Hours From Now
- 120 Days From Today
- 13 Hours From Now
- 14 Days From Today
- 15 Hours From Now
- 16 Hours From Now
- 17 Hours From Now
- 18 Hours From Now
- 180 Days From Today
Fee schedules, rates and rules change without notice. Always confirm important figures with the official source before you rely on them.