# Days until June 20

Counts the days from today, or any date you choose, to the next June 20, with its day of the week.

- Page: https://www.acalculator.org/days/days-until-june-20
- JSON spec: https://www.acalculator.org/days/days-until-june-20.json
- Version: 257a9d4030ec

## 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 are 263 days until June 20 on Sunday, June 20, 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 June 20 | Whole days from the start date to the next June 20; 0 on the day itself. |
| date | Date | The next June 20 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 June 20 on or after the start date, then count the days from the start date to it.

## Assumptions

- June 20 comes every year, so the count is never more than 365 days.
- The start date itself is not counted: from the day before June 20, the count is 1; on June 20 itself, it is 0.
- Start dates from January 1, 1900 to December 31, 2400 work for the count to June 20, the range the date field accepts.
- Today is the date on your own device, so the count to June 20 changes at midnight where you are. Dates are whole calendar days, so a daylight-saving change never adds or loses a day.

## Worked examples

1. from = 2027-06-20 gives date = 2027-06-20, days = 0. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
2. from = 2027-01-01 gives date = 2027-06-20, days = 170. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
3. from = 2027-06-21 gives date = 2028-06-20, days = 365. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).

## FAQ

### What day of the week is June 20?

Saturday, June 20, 2026; Sunday, June 20, 2027; Tuesday, June 20, 2028. The weekday of June 20 moves on one day a year, or two when a February 29 falls between.

### What day of the year is June 20?

June 20 is day 171 of a common year and day 172 of a leap year, such as 2028. Either way, 194 days of the year come after it.

### What season is June 20 in?

In the Northern Hemisphere, June 20 is in spring in 2026, 2027, 2030, 2031, 2034, and 2035 and the first day of summer (the June solstice) in 2028, 2029, 2032, and 2033, because the equinox or solstice moves by a day between years. Seasons here start on the astronomical equinoxes and solstices, dated in US Eastern Time.

### Is June 20 a US federal holiday?

In some years. June 20 is the federal day off for Juneteenth when June 19 falls on a Sunday, as on Monday, June 20, 2033.

### How are the days until June 20 counted?

From the start date to June 20, without counting the start date: from June 19 the count is 1, and on June 20 it is 0. The day after, it moves on to the next June 20: from June 21, 2026, that is June 20, 2027, 364 days away.

## Sources

- 5 U.S.C. 6103 (federal holidays; weekend rule in 6103(b) and Executive Order 11582). Checked against OPM holiday schedules.
- Equinoxes and solstices: Jean Meeus, Astronomical Algorithms (2nd ed., 1998), chapter 27, checked against the US Naval Observatory.
