Day Counter
201 days have passed since January 1, 2026, as of July 21, 2026. Christmas 2026 is 157 days away. This day counter takes one calendar date and tells you how many days separate it from today. Pick a past date and the tool counts forward to show the days elapsed. Pick a future date and it counts the days remaining. If you enter today's date, the tool confirms the count is zero. Day counters answer the single most common date question people type into a search bar: how many days between then and now. Unlike a full date-difference tool that compares two calendar picker fields with month and year breakdowns, this counter is built for one target date and one reference point, usually today. That focus keeps the interface fast and the answer immediate, a single number and a direction label rather than a multi-field table of years, months, weeks, and days. People use it for tracking how long a habit has stuck, counting days since an important decision or event, figuring out how many days remain before a payment is due, or simply marking time between two personal milestones. It is also the reasonableness check behind many project timelines. If a launch is 157 days away and someone asks whether that is about five months, the day counter confirms the exact number without mental rounding.
Quick answer
Enter any date and a today date. The tool subtracts the earlier from the later and shows the absolute number of days between them.
Result
201 days since
Days
201
Direction
since
Date
2026-01-01
What this tells you
- •Enter any date and a today date. The tool subtracts the earlier from the later and shows the absolute number of days between them.
- •If the date is in the past, the result shows days since. If the date is in the future, it shows days until.
- •If the date matches today, the result shows Today with a count of zero days.
- •The count uses calendar days, not business days, and includes all days, weekends and holidays included.
- •Both dates are read as calendar dates without time components, so the count is the whole-day gap between them.
How to Use
- 1Enter the date you want to count from or toward. This can be a past event like a purchase date, a quit date, a trip start, or a future date like a deadline or an exam.
- 2Enter today's date or the reference date you are measuring from. This is usually the current date, but you can set any reference point.
- 3Read the result. The tool shows the number of days and labels it as days since or days until, depending on whether the target date is before or after the reference date.
- 4If the target date matches the reference date, the result shows Today, confirming no days separate the two.
How It Works
Formula
days = abs(target date - reference date) in calendar daysThe calculator subtracts the two dates as JavaScript timestamp values, divides the millisecond difference by 86,400,000, the number of milliseconds in a calendar day, and rounds to the nearest whole day. Both dates are treated as midnight local time, so the count covers full calendar days rather than partial-day intervals. The direction label, since or until, is set by comparing the two dates directly.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Days since a past event
January 1 to July 21 spans 201 full calendar days. Each calendar month contributes its actual number of days, so the count reflects the real calendar.
Days until a future date
From July 21 to December 25 there are 157 days, counting every calendar day along the way.
Today matches the date
When the two dates match, the difference is zero days and the tool confirms the match with the word Today.
One day away
A single calendar day separates the two dates. The tool uses the singular day instead of the plural days.
Days Between Common Date Pairs
Sample counts from July 21, 2026.
| Target date | Days | Direction |
|---|---|---|
| January 1, 2026 | 201 | since |
| March 15, 2026 | 128 | since |
| December 25, 2026 | 157 | until |
| January 1, 2027 | 164 | until |
Common mistakes
- Confusing the direction. Days since counts from a past date to today, while days until counts from today to a future date.
- Adding or subtracting one day. The tool counts the number of 24-hour periods between the two midnight timestamps, so it matches the calendar-day difference most people expect.
- Using partial dates with times. Both dates are read as full-day calendar dates. If you need an hour-level or minute-level count, use a countdown tool instead.
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="day-counter" async></script>Preview the embed at /embed/day-counter/.