# Days until summer

Counts the days from today, or any date you choose, to the next first day of summer, with its date and day of the week.

- Page: https://www.acalculator.org/days/days-until-summer
- JSON spec: https://www.acalculator.org/days/days-until-summer.json
- Version: 99e4951bf40d

## Default answer

Example with the default inputs (Count from September 29, 2026) on the example date Tuesday, September 29, 2026: From September 29, 2026, there are 265 days until the first day of summer on Monday, June 21, 2027.

## Inputs

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

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| days | Days until Summer | Whole days from the start date to the next first day of summer; 0 on the day itself. |
| date | Date | The next date of the first day of summer on or after the start date. |
| weekday | Day of the week | The weekday of that date. |
| weeks | In weeks | The same number of days in weeks and days. |

## Method

Find the first date of the first day of summer on or after the start date, then count the days from the start date to it.

## Assumptions

- Summer starts at the June solstice (June 20 or 21 in US Eastern Time), when the Sun is farthest north.
- Start dates from January 1, 2007 to December 31, 2060 work, because the dates are checked against the US Naval Observatory for these years, and US daylight time has started in March since 2007.
- 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.

## Worked examples

1. from = 2026-01-01 gives date = 2026-06-21, days = 171. Source: US Naval Observatory seasons API (https://aa.usno.navy.mil/api/seasons), converted to US Eastern Time; Meeus, Astronomical Algorithms, ch. 27.
2. from = 2026-06-22 gives date = 2027-06-21, days = 364. Source: US Naval Observatory seasons API (https://aa.usno.navy.mil/api/seasons), converted to US Eastern Time; Meeus, Astronomical Algorithms, ch. 27.

## FAQ

### When is the first day of summer 2027?

The first day of summer 2027 is on Monday, June 21, 2027.

### When is the first day of summer 2028?

The first day of summer 2028 is on Tuesday, June 20, 2028.

### How is the date of the first day of summer set?

Summer starts at the June solstice (June 20 or 21 in US Eastern Time), when the Sun is farthest north. Source: US Naval Observatory seasons API (https://aa.usno.navy.mil/api/seasons), converted to US Eastern Time.

### How are the days until the first day of summer counted?

From the start date (today, unless you change it) to the date, without counting the start date. The day before, the count is 1; on the day itself, it is 0; the day after, the count moves on to the next first day of summer.

## Sources

- US Naval Observatory seasons API (https://aa.usno.navy.mil/api/seasons), converted to US Eastern Time; Meeus, Astronomical Algorithms, ch. 27
