Date Difference Calculator
Count the days, weeks and months between two dates.
Results update as you type.
Game da wannan Kalkulator
A date difference calculator finds the exact time between two dates — in days, weeks, months and years — and also counts the weekdays (Monday to Friday) in between. It works with real calendar dates, so it automatically accounts for leap years and the different lengths of each month. By default it counts the nights between the dates; turn on "count the end day" to include both endpoints.
For example, from 1 January to 1 July is 181 days, which the calculator also expresses as about 25 weeks and 6 days, or 6 months exactly. The weekday count is useful for business timelines, since it strips out weekends.
Use it to count down to a deadline, measure a project or notice period, work out an age gap or anniversary, or find how many working days a task spans. Enter the two dates and every breakdown updates at once.
Tambayoyi da ake yi da yawa
Shin, yana da alaka da ranar ƙarshe?
By default it counts the nights between the two dates. Turn on "Count the end day" under advanced options to include both the start and end dates in the total.
Shin, zã ta yi haƙuri ga shẽkaru mãsu yawa?
Yes. The day count is exact and automatically accounts for leap years and different month lengths.
How many weekdays are between two dates?
The calculator counts only Monday to Friday and reports the total separately from the full day count. This is handy for working out business days, notice periods or delivery windows that skip weekends.
To, don me a cikin kwanaki da watanni da shekaru sakamakon yake bambanta?
The day count is a single exact total, while the months-and-years breakdown expresses the same gap in calendar terms. Because months vary in length, "2 months" is not a fixed number of days — both views describe the same span.
Can I count time to a future date?
Yes. Put today as the start date and the future date as the end, and the calculator shows how long until it arrives. For a live countdown to a specific time, use the countdown calculator instead.
Shin, zan haɗa da yini na ƙarshe ko kuma ba zan haɗa da shi ba?"
It depends on what you are counting. Leave it off to count the nights or gaps between dates; turn on "count the end day" to include both the first and last day, which suits things like counting inclusive event days.
API — amfani da wannan calculator daga code
Ka kira wannan kwalban kamar wata maɓallin ƙarshe JSON mai kyauta - babu maɓalli da ake buƙata. Ka aika kimar fannin ƙasa kamar paramita na tambaya ko JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Read the full API docs →
Endpoint
GET https://calculator.free/api/v1/date-difference/
curl
curl "https://calculator.free/api/v1/date-difference/?start=2026-11-22&end=2026-12-22"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/date-difference/?" + new URLSearchParams({
"start": "2026-11-22",
"end": "2026-12-22"
}));
const data = await r.json();
console.log(data.results);
Results are estimates for general guidance only, not financial, medical or tax advice.