# Days until Thursday

Counts the days from today, or any date you choose, to the next Thursday, with its date and the Thursday after it.

- Page: https://www.acalculator.org/days/days-until-thursday
- JSON spec: https://www.acalculator.org/days/days-until-thursday.json
- Version: 6b9737367dbe

## Default answer

Example with the default inputs (Count from September 30, 2026) on the example date Wednesday, September 30, 2026: From September 30, 2026, there is 1 day until Thursday, October 1, 2026.

## Inputs

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

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| days | Days until Thursday | Whole days from the start date to the next Thursday; 0 when the start date is a Thursday. |
| date | Next Thursday | The next Thursday on or after the start date. |
| after | The Thursday after | The Thursday one week later. |

## Method

Days until Thursday = (4 − the start date’s weekday + 7) mod 7, with Sunday = 0, Monday = 1, …, Saturday = 6.

## Assumptions

- On a Thursday, the count is 0; the Thursday after is 7 days away.
- The start date itself is not counted: from the day before, the count is 1.
- Dates are calendar days with no time of day, so a time zone or a daylight-saving change never adds or loses a day.
- Start dates from January 1, 1900 to December 31, 2400 work.

## Worked examples

1. from = 2026-09-28 gives date = 2026-10-01, days = 3. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
2. from = 2026-12-31 gives date = 2026-12-31, days = 0. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
3. from = 2028-02-27 gives date = 2028-03-02, days = 4. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).

## FAQ

### How many days until Thursday from each day of the week?

From Monday, 3; from Tuesday, 2; from Wednesday, 1; from Thursday, 0; from Friday, 6; from Saturday, 5; from Sunday, 4. On a Thursday the count is 0, and the Thursday after is 7 days away.

### What if today is Thursday?

Then the count is 0, because the next Thursday on or after today is today. The page also shows the Thursday after it, 7 days later.

### How many Thursdays are in a year?

A year of 365 days is 52 weeks and 1 day, so the weekday of January 1 comes 53 times and every other weekday 52 times; in a leap year, the weekdays of January 1 and 2 come 53 times. 2026 has 53 Thursdays, and 2027 has 52.

### How are the days until Thursday counted?

From the start date (today, unless you change it) to the next Thursday, without counting the start date, in calendar days. Weekends and holidays count like any other day.
