

720: Where Does Time Come From?
4 snips Jan 22, 2024
Dive into the mind-bending world of time! Discover how browsers and servers view time differently and the complexity of time zones. Unravel the mysteries of atomic clocks and their crucial role in technology. The discussion highlights the importance of standardization with formats like ISO 8601. Plus, explore epoch time and the potential 2038 problem that could impact systems. With humor and personal anecdotes, the hosts make time management in programming both enlightening and entertaining!
AI Snips
Chapters
Transcript
Episode notes
A Time Glitch
- Wes Bos experienced a strange time discrepancy in his server-side rendering (SSR) component.
- The server returned a date a year and a day off, while the client's browser displayed it correctly, fixed by a restart.
Time's Origins
- Browsers derive time from computers, which rely on various sources like motherboards or network time.
- Atomic clocks, like the one Jeff Bezos funded, offer the highest accuracy for timekeeping.
Network and Device Time
- Atomic clocks serve as a foundational time source, disseminating time to network time protocol (NTP) servers.
- Devices use NTP to synchronize time, or rely on internal batteries when offline, highlighting time's complexity in programming.