Skip to content

ISO 8601 and RFC 3339 Formatter

Convert safely between Unix, ISO 8601, RFC 3339, and human-readable inputs without guessing whether the value is local or UTC.

Direct Answer

ISO 8601 and RFC 3339 are safest when the value includes an explicit timezone offset or `Z` suffix. This formatter lets you parse, normalize, and batch-convert those values before they turn into silent timezone bugs.

JavaScript
new Date().toISOString()
Python
datetime.now(timezone.utc).isoformat()
Go
time.Now().Format(time.RFC3339)
Rust
Utc::now().to_rfc3339()