How to Convert Timestamps (JS, Python, SQL & More)
A practical guide to converting timestamps in both directions — in JavaScript, Python, SQL, the command line and spreadsheets, with the unit and time-zone gotchas.
AZ Utils Editorial · · 11 min read
Everything tagged Web Development.
A practical guide to converting timestamps in both directions — in JavaScript, Python, SQL, the command line and spreadsheets, with the unit and time-zone gotchas.
AZ Utils Editorial · · 11 min read
A symptom-driven guide to debugging timestamps — seconds/ms mix-ups, time-zone and DST errors, the 1970 and 1901 dates, and a systematic method to fix them.
AZ Utils Editorial · · 11 min read
Every common JWT claim explained — the registered claims iss, sub, aud, exp, nbf, iat and jti, plus custom claims and how to validate them.
AZ Utils Editorial · · 11 min read
Base64 explained for developers — what it is, the 64-character alphabet, encoding in JavaScript and Python, common mistakes and best practices.
AZ Utils Editorial · · 11 min read
The real-world use cases for Base64 — data URIs, email attachments, JWTs, HTTP Basic Auth and binary in JSON — with examples and when to avoid it.
AZ Utils Editorial · · 10 min read
Base64 is encoding, not encryption. Learn the security implications for Basic Auth, JWTs and untrusted input — and how to use Base64 safely.
AZ Utils Editorial · · 10 min read
The most common JSON errors — trailing commas, single quotes, unquoted keys, comments and unescaped characters — and exactly how to fix each.
AZ Utils Editorial · · 11 min read
How to format JSON — beautify it for readability or minify it for production — in tools, editors, the command line and code, with the why behind each.
AZ Utils Editorial · · 10 min read
JSON explained for developers and beginners — syntax, data types, code examples in JavaScript and Python, common mistakes and best practices.
AZ Utils Editorial · · 12 min read