UTC vs Timezone - The Bug That Costs Developers Hours

LearnThatStack · Beginner ·📰 AI News & Updates ·4mo ago
Time zone bugs can silently break production. Many developers store timestamps wrong. They either convert everything to UTC (breaking scheduled reminders) or store local times (breaking historical records). This video breaks down the two datetime problems that look identical but need completely different solutions. You'll learn: → When to store UTC vs local time + timezone identifier → Why "UTC-5" and "America/New_York" aren't the same thing → The hour that doesn't exist (and the hour that happens twice) → Why adding 24 hours doesn't always mean "tomorrow" Timestamps: 0:00 - The bug that appears from nowhere 0:21 - Two different datetime problems 2:09 - Offset vs Timezone (the photo vs flipbook analogy) 3:15 - DST edge cases that break your code 4:40 - Quick reference rules 5:18 - Summary More Videos : Software Egineering Basics - https://www.youtube.com/playlist?list=PLWP-VtjCVpWyLNBm3zz_sGyC5mVwiAOvj Software Design - https://www.youtube.com/playlist?list=PLWP-VtjCVpWx7kPq30XRN6O6LjVQ4VL95 #programming #webdev #softwareengineering #python #javascript
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Meta Is in Crisis, Google Search’s Makeover, and AI Gets Booed by Graduates
Learn about Meta's crisis, Google Search's makeover, and AI's backlash from graduates, and how these events impact the tech industry
Wired AI
What I Do Between Biotech Jobs, Part 1: The 20-Line Script That Outsmarted an AI
Learn how a 20-line script outsmarted an AI in biotech, and discover the potential of creative problem-solving in the industry
Medium · AI
Spotify and Universal Music strike deal allowing fan-made AI covers and remixes
Spotify and Universal Music partner to allow fan-made AI covers and remixes, with revenue sharing for artists
TechCrunch AI
Google Just Turned Search Into Something It Has Never Been Before
Google Search has undergone a significant transformation after 25 years, leveraging AI to change its core functionality
Medium · AI

Chapters (6)

The bug that appears from nowhere
0:21 Two different datetime problems
2:09 Offset vs Timezone (the photo vs flipbook analogy)
3:15 DST edge cases that break your code
4:40 Quick reference rules
5:18 Summary
Up next
OpenAI: $2M in tokens to every YC company in the spring and summer batches.
Y Combinator
Watch →