Blog

Time, timestamps
and how to handle them.

Practical guides on Unix timestamps, JWT tokens, timezone handling and date conversion — for developers who work with real systems.

All articles 4 posts
JavaScript May 13, 2026 8 min read

How to Convert Unix Timestamps in JavaScript — Complete Guide

Every method you need: Unix seconds vs milliseconds, Date conversion, Intl formatting, timezone handling, relative time, and TypeScript branded types. No library required.

Read article →
Fundamentals May 13, 2026 5 min read

Unix Seconds vs Milliseconds: The Bug That Haunts Every Developer

Why your timestamp shows 1970, how to detect precision automatically, and the rules for every language and API you'll encounter.

Read article →
JWT May 14, 2026 7 min read

How to Decode and Validate JWT Expiration Without a Library

Read the exp, iat, and nbf claims from any JWT token using pure JavaScript — no jsonwebtoken, no dependencies. With Python, PHP and Go examples.

Read article →
Fundamentals May 14, 2026 7 min read

What is Epoch Time? Unix Timestamps Explained for Developers

Why time starts on January 1, 1970, how Unix timestamps work, famous epoch timestamps, the Year 2038 problem, and how to get the current epoch in every language.

Read article →
Python May 15, 2026 8 min read

Unix Timestamps in Python: datetime, timezone, and the UTC Trap

Why fromtimestamp() lies to you, why utcfromtimestamp() is deprecated, and the correct patterns for timezone-aware datetimes. With zoneinfo, pytz, strftime, and pandas.

Read article →
PostgreSQL May 16, 2026 9 min read

PostgreSQL Timestamps: TIMESTAMPTZ vs TIMESTAMP and How to Query by Unix Epoch

Why TIMESTAMP without timezone is a production bug, TO_TIMESTAMP(), EXTRACT(EPOCH), AT TIME ZONE, DATE_TRUNC, range query patterns, index tips, and schema best practices.

Read article →