Neatbo.

Days between dates

Find out just how far apart two dates are.

Browser-local processingInputTwo datesOutputDuration
  1. 1Add input
  2. 2Adjust settings
  3. 3Get your result

Tool input and files are processed in this browser without being uploaded.

Your input

Inputs are kept temporarily in this tab when switching tools. Refreshing or closing clears them; large results may need to be regenerated.

⌘ / Ctrl + Enter to run
0 characters · 0 bytes
Options

Complete the required options first. You can keep the defaults for the rest.

Preparing the tool…

Before you start

Compare calendar dates using UTC day arithmetic, without allowing timezone offsets to create 23- or 25-hour day errors. Choose whether to include both endpoints.

How to use this tool

  1. Enter the date (yyyy-mm-dd) for days between dates. Fill in the second input as well.
  2. Check your input, then select “Calculate days”.
  3. Review the Duration result, then use the available copy or download controls.

Supported inputs and limits

Pasted text is limited to 1 MiB; review the result before using it.

Worked example

Example input

2024-02-28

2024-03-01
Example options
{}

Example output

2

When something does not work

Check the input unit, calendar date and IANA time zone. A skipped daylight-saving time has no matching instant; a repeated time requires an explicit earlier/later choice.

Frequently asked questions

Are my files uploaded?

No. Files and tool input are processed in your browser. Moving around the site can keep a temporary workspace in the same tab. Refreshing or closing the tab clears it, so download results you want to keep.

What should I check in this result?

Compare calendar dates using UTC day arithmetic, without allowing timezone offsets to create 23- or 25-hour day errors. Choose whether to include both endpoints.

Documentation & further reading

Related tools