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 Coming soon

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.

Coming soon
Timezones Coming soon

Daylight Saving Time Bugs: Why Your Timestamps Break Twice a Year

DST transitions are responsible for some of the most cryptic bugs in production. Here's how to protect your system.

Coming soon
Python Coming soon

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

Why you should always use timezone-aware datetimes, how fromtimestamp() can lie to you, and the correct patterns for production.

Coming soon
PostgreSQL Coming soon

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

The definitive guide to storing, querying and converting timestamps in PostgreSQL — including TO_TIMESTAMP, AT TIME ZONE, and common pitfalls.

Coming soon