# Days until New Year

Counts the days from today, or any date you choose, to the next New Year’s Day, with its date and day of the week.

- Page: https://www.acalculator.org/days/days-until-new-year
- JSON spec: https://www.acalculator.org/days/days-until-new-year.json
- Version: dcaca0a22e55

## 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 94 days until New Year’s Day on Friday, January 1, 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 New Year | Whole days from the start date to the next New Year’s Day; 0 on the day itself. |
| date | Date | The next date of New Year’s Day 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 New Year’s Day on or after the start date, then count the days from the start date to it.

## Assumptions

- New Year’s Day is January 1.
- Start dates from January 1, 1986 to December 31, 2400 work, because the US federal holiday rules used here start in 1986.
- 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.
- When the date falls on a weekend, the US federal day off moves to the Friday before or the Monday after; the count is to the date itself.

## Worked examples

1. from = 2026-01-01 gives date = 2026-01-01, days = 0. Source: 5 U.S.C. 6103 (federal holidays), with OPM federal holiday schedules.
2. from = 2026-01-02 gives date = 2027-01-01, days = 364. Source: 5 U.S.C. 6103 (federal holidays), with OPM federal holiday schedules.

## FAQ

### When is New Year’s Day 2027?

New Year’s Day 2027 is on Friday, January 1, 2027.

### When is New Year’s Day 2028?

New Year’s Day 2028 is on Saturday, January 1, 2028. It falls on a Saturday, so the US federal day off is Friday, December 31, 2027.

### How is the date of New Year’s Day set?

New Year’s Day is January 1. Source: 5 U.S.C. 6103 (federal holidays), with OPM federal holiday schedules.

### How are the days until New Year’s Day 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 New Year’s Day.

## Sources

- 5 U.S.C. 6103 (federal holidays), with OPM federal holiday schedules
