3 ms·
It's more than that. If the daylight saving laws change in the zone you're interested in, the round trip from local to UTC to local again can be off even if you
by mark-r 10y ago
It's more than that. If the daylight saving laws change in the zone you're interested in, the round trip from local to UTC to local again can be off even if your database is up to date and your timezones are correct. Converting from local to UTC using the old rule then UTC to local with the new rule will really mess you up.
- lucb1e 10y agoThe article offers no solution to that though. > So, you had everything right, but result is wrong. Life is unfair. Deal with it. It mentions a workaround, but not a solution.
- mark-r 10y agoThe solution is right there in the next paragraph. Realize when you need to store local times instead of UTC. There's no cookie cutter solution, you need to think about your particular problem and do what's best.