# How many days until a date?

Counts the days from today, or any date you choose, to a date you pick, with its weekday and the same time in weeks and in months.

- Page: https://www.acalculator.org/days/days-until
- JSON spec: https://www.acalculator.org/days/days-until.json
- Version: 0fdb9d898cc3

## Default answer

Example with the default inputs (Count to September 30, 2027, Count from September 30, 2026) on the example date Wednesday, September 30, 2026: From September 30, 2026, there are 365 days until September 30, 2027.

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| to | Count to | The date to count down to. A year from today, unless you change it. |
| from | Count from | The date to count from. Today, unless you change it. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| days | Days until the date | Whole days from the start date to the date; 0 when they are the same day. |
| weekday | Day of the week | The weekday of the date you count to. |
| weeks | In weeks | The same number of days in weeks and days. |
| months | In years, months, and days | The time to the date in whole years, then whole months, then days. |

## Method

Days until = the date − the start date, in calendar days.

## Assumptions

- The start date itself is not counted: from the day before, the count is 1; on the day itself, it is 0.
- Dates are calendar days with no time of day, so a time zone or a daylight-saving change never adds or loses a day.
- Years, months, and days: the most whole years, then the most whole months, then the days left. A month from a day that the next month does not have ends on that month’s last day (January 31 plus one month is February 28, or 29 in a leap year).
- Dates from January 1, 1900 to December 31, 2400 work.

## Worked examples

1. from = 2026-09-29, to = 2027-01-01 gives days = 94, weekday = Friday, weeks = 13 weeks and 3 days.
2. from = 2028-02-01, to = 2028-03-01 gives days = 29, weekday = Wednesday, months = {"years":0,"months":1,"days":0}. Source: February 2028 has 29 days.
3. from = 2026-03-07, to = 2026-03-09 gives days = 2, weekday = Monday.
4. from = 2026-12-25, to = 2026-12-25 gives days = 0, weeks = 0 days.

## FAQ

### How do I count the days until a date?

Take the date you count to minus the date you count from, in calendar days. From September 29, 2026 to January 1, 2027, that is 1 day left in September, 31 in October, 30 in November, 31 in December, and 1 more to reach January 1: 94 days.

### Does the count include today?

No. The start date is not counted, so the day before the date the count is 1, and on the date itself it is 0. To count both the first and the last day, add 1.

### Can a time zone or a daylight saving change make the count wrong?

No. The count uses calendar dates with no time of day, so a night when the clocks go forward or back still counts as one day. The calculator starts from the date on your own device, so it counts from your today wherever you are.

### What if the date has already passed?

Then there is nothing left to count down, and the calculator asks for a later date. To count the days since a past date, use the Days Between Dates Calculator.

### Why does the answer change from day to day?

The start date is today unless you change it, so each day the count is one smaller. The page reads today’s date from your device when it opens; the number in the page before that is for the day the page was built, and says so.
