New Year's Day (January 1) marks the start of the new calendar year.
Calculating...
New Year's Day 2028: Saturday, January 1, 2028
New Year's Day (January 1) marks the start of the new calendar year. New Year's Day 2028 falls on a Saturday. It is a public holiday in most countries and marks the start of the Gregorian calendar year.
The number of days is calculated by taking today's date and subtracting it from New Year's Day 2028 (Saturday, January 1, 2028). The math uses midnight-to-midnight UTC day boundaries so the result does not change based on your time zone or the time of day. One "day" is exactly 86,400 seconds.
Math.round((new Date(2028, 0, 1) - new Date()) / 86400000). This gives the number of whole days until New Year's Day 2028.Also useful: Day of the Year Calculator · Unix Timestamp Converter