Code tool

Days Until Days Since

Choose a target date and compare it with today in your browser’s local calendar.

In-browser processingNo account requiredPrivacy details ↗

Select a target date to calculate.

A QUICK WALKTHROUGH

How to use this tool

  1. Enter a target calendar date.
  2. Select Calculate days to compare it with today.
  3. Read the signed result: positive for a future date, negative for a past date, and zero for today.

Local calendar date

Today is read from your browser’s local year, month, and day. The calculation does not use the current clock time.

Signed calendar-day difference

A future target produces a positive number, a past target produces a negative number, and today produces 0. Daylight-saving changes do not alter the calendar-day count.

Private browser calculation

The target date is validated and compared locally in your browser. Nothing is uploaded or stored by this page.

GOOD TO KNOW

Common questions

What does a positive result mean?

The target date is in the future, so the number is the calendar days until it.

What does a negative result mean?

The target date is in the past, so the number is the calendar days since it.

What happens when I choose today?

The result is 0 because the target and local calendar date are the same.

Does the time of day matter?

No. Only the browser’s local calendar date and the entered target date are compared.