EPISODE · Jun 13, 2026 · 9 MIN
Why Database Time Zone Handling Breaks Queries
from Database Tech with Fexingo: SQL, NoSQL, and Data Storage Conversations · host Fexingo
In this episode of Database Tech with Fexingo, Lucas and Luna dive into the hidden chaos of time zone handling in databases. Using the real-world example of a popular booking platform that lost millions in revenue due to incorrect time zone conversions, they explore why most developers underestimate the complexity. They discuss the difference between TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIME ZONE in PostgreSQL, how indexing breaks when time zones shift, and why daylight saving time transitions cause silent data corruption. The episode also covers practical strategies like storing all timestamps in UTC at the database level, using application-layer time zone conversion, and the importance of testing edge cases like the 'spring forward' and 'fall back' moments. Listeners will learn one concrete lesson: always store timestamps in UTC and convert at query time—unless you want your midnight reports to include yesterday's data. #DatabaseTimeZones #SQLTimestamp #PostgreSQL #UTCDatabase #DaylightSavingTime #QueryPerformance #DataIntegrity #TimeZoneHandling #DatabaseDesign #TechPodcast #DatabaseTech #FexingoBusiness #BusinessPodcast #SoftwareEngineering #BackendDevelopment #DataEngineering #SQLTips #DatabaseOptimization Keep every episode free: buymeacoffee.com/fexingo
What this episode covers
In this episode of Database Tech with Fexingo, Lucas and Luna dive into the hidden chaos of time zone handling in databases. Using the real-world example of a popular booking platform that lost millions in revenue due to incorrect time zone conversions, they explore why most developers underestimate the complexity. They discuss the difference between TIMESTAMP WITH TIME ZONE and TIMESTAMP WITHOUT TIME ZONE in PostgreSQL, how indexing breaks when time zones shift, and why daylight saving time transitions cause silent data corruption. The episode also covers practical strategies like storing all timestamps in UTC at the database level, using application-layer time zone conversion, and the importance of testing edge cases like the 'spring forward' and 'fall back' moments. Listeners will learn one concrete lesson: always store timestamps in UTC and convert at query time—unless you want your midnight reports to include yesterday's data. #DatabaseTimeZones #SQLTimestamp #PostgreSQL #UTCDatabase #DaylightSavingTime #QueryPerformance #DataIntegrity #TimeZoneHandling #DatabaseDesign #TechPodcast #DatabaseTech #FexingoBusiness #BusinessPodcast #SoftwareEngineering #BackendDevelopment #DataEngineering #SQLTips #DatabaseOptimization Keep every episode free: buymeacoffee.com/fexingo
NOW PLAYING
Why Database Time Zone Handling Breaks Queries
No transcript for this episode yet
Similar Episodes
Mar 26, 2026 ·1m
Mar 19, 2026 ·34m
Feb 18, 2026 ·11m
Feb 11, 2026 ·45m