Guide: convert Unix timestamps and ISO dates
Logs and JWTs use epoch seconds or milliseconds; databases return ISO 8601 with `Z` or offsets. Mental timezone math causes `exp`, metrics, and schedule incidents.
Conversion uses your browser clock locally — nothing is uploaded. Confirm seconds (10 digits) vs ms (13 digits) before trusting output.
Pair with the JWT decoder, CloudWatch logs, or cron jobs. In production, store UTC (`toISOString`) and convert only at the UI layer.
Step by step
- Paste timestamp or date — Accept numeric epoch, ISO strings, or human-readable dates — common formats auto-detect.
- Confirm unit and timezone — Toggle seconds/ms and compare local offset vs displayed UTC.
- Match the real event — Cross-check log lines — 3h gaps often mean DST or seconds/ms mix-ups.
- Copy target format — Export ISO for APIs, epoch for Redis TTL, or localized strings for reports.