Some Days Really Do Have 23 or 25 Hours: DST Switch Days
The day daylight saving time begins is actually 23 hours long, and the day it ends is 25 hours long. Here's why, and why systems must handle it correctly.
A day has 24 hours — that's a premise almost nobody questions. But in countries and regions that observe daylight saving time, there are exactly two days a year when that premise breaks down. The spring day when DST begins looks like an ordinary day on the calendar, but it actually contains only 23 hours, a "short day." Conversely, the autumn day when DST ends actually contains 25 hours, a "long day."
Why the spring switch day has 23 hours
When daylight saving time begins, most regions handle the transition by jumping the clock forward by one hour at exactly 2:00 a.m., turning it instantly into 3:00 a.m. That means the entire "2 a.m. hour" never happens that day. The day starts at midnight as usual, and would normally end 24 hours later at the following midnight, but because a full hour gets skipped in between, only 23 hours actually elapse. People asleep at that moment barely notice it, but anything scheduled for that missing 2 a.m. hour technically doesn't exist on the calendar that day.
Why the autumn switch day has 25 hours
The reverse happens on the day DST ends in autumn. Most regions handle this by turning the clock back one hour once it reaches 2:00 a.m., restarting the clock at 1:00 a.m. and running through that hour a second time. That means the "1 a.m. hour" occurs twice, making the day 25 hours long, one hour longer than usual. Because the same clock time occurs twice that day, there's also a tricky ambiguity: if you only look at the time and not which occurrence it was, you can't tell whether "1:30 a.m." refers to the first pass or the second.
The challenge for broadcasting, aviation, and computing
This one-hour discrepancy is far more than a piece of trivia — it creates real operational challenges. Broadcasters must correctly account for the short and long days when building program schedules, and airlines must factor the shift into flight-time calculations, or departure and arrival times will be thrown off. In computing, a system that naively treats every day as exactly 24 hours, without relying on a proper timezone-aware library, can end up double-booking an event on the autumn switch day, since the same clock time occurs twice, or dropping an event scheduled during the nonexistent 2 a.m. hour on the spring switch day.
To avoid these pitfalls, systems around the world calculate local times using data sources like the IANA Time Zone Database, which encode the precise rules for exactly when and how each region's clocks change. This database records, for every country and region, detailed historical and future rules for when daylight saving time starts and ends, so software that consults it can automatically handle the arithmetic correctly across both the 23-hour short day and the 25-hour long day. Conversely, any system that tries to reimplement date math on its own, without leaning on such a dedicated database or library, tends to develop exactly this kind of hard-to-spot bug — one that only surfaces once or twice a year, right around the switch date.