# Days until January

Counts the days from today, or any date you choose, to January 1, the first day of the next January, with its weekday and the time in weeks and months.

- Page: https://www.acalculator.org/days/days-until-january
- JSON spec: https://www.acalculator.org/days/days-until-january.json
- Version: e1d78996221a

## 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 93 days until January 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 January | Whole days from the start date to the next January 1; 0 on January 1 itself. |
| date | Date | The next January 1 on or after the start date. |
| weekday | Day of the week | The weekday of that January 1. |
| weeks | In weeks | The same number of days in weeks and days. |
| months | In months and days | The time to that date in whole months, then days. |

## Method

Find the first January 1 on or after the start date, then count the days from the start date to it.

## Assumptions

- The count is to January 1, the first day of the month. During January, it counts to January 1 of the next year.
- 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.
- Start dates from January 1, 1900 to December 31, 2400 work.

## Worked examples

1. from = 2026-09-28 gives date = 2027-01-01, days = 95, weekday = Friday. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
2. from = 2026-01-01 gives date = 2026-01-01, days = 0, weekday = Thursday. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
3. from = 2026-01-02 gives date = 2027-01-01, days = 364, weekday = Friday. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).
4. from = 2028-02-29 gives date = 2029-01-01, days = 307, weekday = Monday. Source: U.S. Naval Observatory, Leap Years: the Gregorian leap year rule (https://aa.usno.navy.mil/faq/leap_years).

## FAQ

### When does January 2027 start?

January 2027 starts on Friday, January 1, 2027 and ends on Sunday, January 31, 2027.

### How many days are in January?

January always has 31 days, so January 2027 runs from Friday, January 1, 2027 to Sunday, January 31, 2027.

### What day of the week does January 2028 start on?

January 2028 starts on a Saturday: Saturday, January 1, 2028.

### What if it is already January?

The page counts to the first day of the month. On January 1 the count is 0; from January 2 to January 31 it counts to January 1 of the next year. From Saturday, January 2, 2027, that is Saturday, January 1, 2028.

### How are the days until January counted?

From the start date (today, unless you change it) to January 1, without counting the start date: from the last day of the month before, the count is 1. The weeks and months shown are the same span, in whole weeks and in whole months plus days.
