Date difference
Count elapsed calendar days between two dates using UTC date boundaries.
Date difference: inputs, results and limitations
Count elapsed calendar days between two dates using UTC date boundaries.
How to use Date difference
- Paste your text or use the example to inspect the operation.
- Review the options before running: Start time (seconds): 2026-01-01 · End time (seconds): 2026-10-09
- Inspect the preview or result, then download a new file.
An illustrative use case
The difference between two calendar dates without clock times.
Select a real sample file you are allowed to process. Begin with a short, simple input before attempting a complex document or recording.
What to inspect in the output
Confirm which date is the start and whether your business rule includes both endpoints. A date difference is not automatically a count of working days.
Where this tool stops
Review the output before using it. Your original input is not changed.
Settings and starting values
| Control | Starting value |
|---|---|
| Start time (seconds) | 2026-01-01 |
| End time (seconds) | 2026-10-09 |
Troubleshooting Date difference
Check units, date formats and the order of operands. A valid number can still represent the wrong quantity, such as milliseconds instead of seconds or a monthly rate instead of an annual percentage.
Questions about Date difference
Does the result exclude weekends or holidays?
No. It compares calendar dates. Business-day calculations require a country-specific working calendar.
What input does Date difference need?
Use the sample text shown below, then replace it with your own input. Review the result for the destination where it will be used.
Which options does Date difference provide?
Start time (seconds), End time (seconds). Review the starting values in the table and adjust them for your input.
Your original input is preserved. Review the new output before using it in a published page, customer delivery or production workflow.
JavaScript enables the interactive workspace.