ISO 8601 to Unix timestamp
ISO strings include timezone info (or imply one). Unix timestamps are always absolute UTC moments.
const iso = '2026-03-01T12:30:00+07:00';
const ms = new Date(iso).getTime();
const seconds = Math.floor(ms / 1000);Common mistakes
- Parsing strings without timezone info and assuming UTC.
- Double-converting timezone offsets.
- Mixing seconds and milliseconds in API payloads.
Related: Unix to date · Unix timestamp converter
Continue with related guides
Browse the full guides hub or open the Unix timestamp converter tool.