Date Difference Calculator — online, without uploading your files
The count is the gap between the dates, not a tally of the dates themselves: 28 February 2024 to 1 March 2024 comes out as 2 days, because it counts the days that pass rather than both endpoints. The order you enter them in makes no difference, because the tool takes the absolute difference — you will never get a negative number from it. Both dates are converted to whole UTC days before subtracting, so your time zone and any clock change are irrelevant to the answer. Every calendar day counts, including weekends, public holidays and 29 February. There is no time-of-day field, so it cannot measure hours or part-days.
Quick Summary / Direct Answer
To count the days between two dates: open the date difference calculator, pick the first date and the second date in the two date boxes, then select Calculate difference. The result is the number of whole calendar days between them, worked out in your browser from the two dates alone.
Tool Specifications
Runs on
Your browser
Server upload
None
Account
Not required
Cost
Free, no paywall
How to use Date Difference Calculator in 3 simple steps
Three steps, all of them inside this browser tab.
Open the Date Difference Calculator workbench
Open the workspace in your browser. The code it needs loads with the page — there is nothing to install and no account to create.
Provide your input files or parameters
Select, drag, or configure your input. The file is read into the page and processed there, so there is no upload to wait for.
Save your output
Preview the result and click download. The file is written from the page straight to your disk; nothing is stored on a server.
Local Browser Compute vs. Traditional Cloud Converters
What changes when the tool runs in your own tab instead of on someone else's server.
| Feature / Aspect | OpenTools (Local) | Standard Cloud Converters |
|---|---|---|
| Where your file goes | Stays in the page; it never touches a server | Uploaded to and processed on the provider’s servers |
| Waiting to upload | None — there is no upload step | Upload time, then a place in the server queue |
| Price | Free, with no paywall and no sign-up | Often a free tier with daily limits or a subscription |
| Retention | Nothing to retain; the file was never sent | Stored on the provider’s disks under their policy |
| Account & tracking | No account, no third-party trackers, no client-side analytics | Often an email sign-up and advertising trackers |
How this page is locked down
This page is served with a Content Security Policy that blocks every network connection the page could make (connect-src 'none'). Your browser will not send the file, its name or its contents to any server, including this one. The exact header is below.
Related Date Time and Productivity Utilities
Other Date Time and Productivity tools that run the same way.
Run add days to date in your browser tab.
Also in Date Time and Productivity →
Run subtract days from date in your browser tab.
Also in Date Time and Productivity →
Run business days calculator in your browser tab.
Also in Date Time and Productivity →
Run emi due date planner in your browser tab.
Related in India and Life Admin →
Frequently Asked Questions
Does the count include the last day?
No. It counts the days between the two dates, so 28 February 2024 to 1 March 2024 returns 2 days rather than 3. If the thing you are counting needs both endpoints included, add one to the answer yourself.
Does it matter which date I put first?
No. The tool takes the absolute difference, so 2024-02-28 to 2024-03-01 and 2024-03-01 to 2024-02-28 both return 2 days. The result is never signed, so it will not tell you which date came first.
Does it count 29 February?
Yes. Leap days are ordinary days here — the count is a straight subtraction of calendar days, so every 29 February inside the range is included in the total.
Does it skip weekends and public holidays?
No, it counts every calendar day. A separate business-days calculator on this site counts Monday to Friday dates only, excluding the start date and including the end date, and that one does not know about public holidays either.
Can daylight saving or my time zone change the answer?
No. Both dates are converted to whole UTC days before they are subtracted, so the result depends only on the two calendar dates you picked and not on where you are or what your clock did overnight.
Does Date Difference Calculator upload my files or data to any server?
No. The work happens in the page you have open. This page is served with a Content Security Policy of connect-src 'none' and webrtc 'block', so the browser will not let it open a connection to any server, including this one.
Is Date Difference Calculator free?
Yes. There is no paywall, no usage limit and no account. If the tool is useful to you, you can choose to support the project.
Can I use this for confidential legal or financial records?
Your file is not sent anywhere, so it is not exposed to this site or to a third party. What remains is your own device and browser — treat it the way your organisation's policy treats any local file.
Does the site collect anything when I visit?
The server records one coarse metadata event per page visit (see the security policy for exactly what). There are no third-party trackers and no client-side analytics, and nothing from the tool itself — your files, inputs or results — is included.
Ready to use Date Difference Calculator?
Open the workspace in your browser. No account, no paywall, and your file never leaves the page.