Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

A Day Isn't 24 Hours: Fixing Date Math & DST Bugs

TL;DR: Adding 24 hours to a timestamp does not reliably move a clock forward by one calendar day. Because of Daylight Saving Time transitions, a calendar day can span 23, 24, or 25 hours. To prevent b...

Read the full report at Dev.to ↗