💻

Time in Technology

How computers handle time: Unix timestamps, NTP, programming with dates, and time synchronization.

01

Unix Timestamp Explained

A Unix timestamp is the number of seconds elapsed since January 1, 1970 (UTC). Learn what it is, why it matters, and how to use …

02

The Year 2038 Problem (Y2K38)

On January 19, 2038, 32-bit Unix timestamps will overflow and roll back to 1901. Learn what systems are at risk and how to fix them …

03

How NTP Works: Network Time Synchronization

NTP (Network Time Protocol) keeps computers across the internet synchronized to within milliseconds. Learn how it works, its hierarchy, and how to configure it.

04

UTC in Programming: Best Practices

Always store time in UTC and convert to local time only for display. Learn the best practices for using UTC in your applications to avoid …

05

Handling Time Zones in Python: pytz and zoneinfo

Master timezone handling in Python using the modern zoneinfo module (Python 3.9+) and the legacy pytz library. Avoid naive datetime bugs with practical examples.

06

Handling Time Zones in JavaScript: Intl and Luxon

JavaScript's built-in Date object is notoriously tricky with timezones. Learn how to use the Intl API and the Luxon library for reliable timezone handling.

07

Database Time Storage: UTC vs Local Time

Should you store timestamps in UTC or local time in your database? The answer is almost always UTC. Learn the column types, pitfalls, and migration …

08

ISO 8601 Date Format: The International Standard

ISO 8601 is the international standard for representing dates and times. Learn its format, variants, and why you should use it in your APIs and …

09

RFC 3339: The Internet Date/Time Format

RFC 3339 is the date and time format standard used across the internet in protocols, APIs, and log files. Learn how it differs from ISO …

10

Atomic Clocks Explained: How They Work

Atomic clocks are the most accurate timekeepers ever built, losing less than one second in 300 million years. Learn the physics behind them and how …

11

GPS and Time: Satellite-Based Precision

GPS satellites are not just for navigation — they are the most widely used source of precise time on Earth. Learn how GPS delivers nanosecond-accurate …

12

Time Synchronization in Distributed Systems

Distributed systems face unique challenges with time: clocks drift, networks have latency, and events can appear out of order. Learn about logical clocks, vector clocks, …

13

Leap Second Handling in Software

Leap seconds are inserted periodically to keep UTC aligned with Earth's rotation. They cause real software failures. Learn how they work and how to handle …

14

Browser Time APIs: Date, Intl.DateTimeFormat, and More

Modern browsers expose several APIs for working with time: Date, Intl.DateTimeFormat, Intl.RelativeTimeFormat, and the upcoming Temporal. Learn when to use each.

15

Server Time vs Client Time: Which Should You Trust?

Client clocks can be wrong, manipulated, or in unexpected timezones. Learn when to use server time vs client time, and how to build systems that …

16

Cron Jobs and Time Zones: Scheduling Pitfalls

Scheduling cron jobs in the wrong timezone leads to jobs running at unexpected times, missing DST transitions, or running twice. Learn the pitfalls and best …

17

Time Series Databases: InfluxDB, TimescaleDB, and More

Time series databases are purpose-built for timestamped data: metrics, IoT sensor readings, financial ticks. Learn how they differ from relational databases and when to use …

18

Timestamps in APIs: Best Practices

API timestamps are a frequent source of bugs and integration headaches. Learn the best practices for representing, transmitting, and versioning timestamps in REST and GraphQL …

19

Clock Drift and Synchronization: Why Clocks Disagree

All computer clocks drift over time. Learn why clocks drift, how much is normal, and how NTP and PTP continuously correct the drift to keep …

20

Time in Blockchain: Block Timestamps

Blockchain networks have a unique relationship with time. Block timestamps are miner-controlled, can be manipulated within limits, and differ fundamentally from traditional server time.

21

Real-Time Clock (RTC) Hardware: How Computers Keep Time

Every computer has a battery-powered Real-Time Clock chip that keeps time even when powered off. Learn how RTC hardware works, why it drifts, and how …

22

Stratum Levels in NTP: The Hierarchy of Time Sources

NTP organizes time sources into strata from 0 to 15. Understanding stratum levels helps you choose the right time servers and evaluate the accuracy of …

23

PTP vs NTP: Precision Time Protocol Comparison

PTP (Precision Time Protocol) achieves sub-microsecond accuracy compared to NTP's milliseconds. Learn the differences, use cases, and when to upgrade from NTP to PTP.

24

Time in Cloud Computing: AWS, GCP, and Azure Time Services

Cloud providers offer managed time synchronization services for their virtual machines. Learn how AWS, Google Cloud, and Azure handle time, and the best practices for …

25

Debugging Time Zone Issues: Common Bugs and Fixes

Timezone bugs are notoriously tricky to reproduce and diagnose. Learn the most common timezone-related bugs, how to reproduce them, and proven techniques to fix them.