Timestamp & date conversions
Pick a conversion to get a focused tool, a worked example, code in 14 languages, and answers to common questions.
Unix Timestamp to Date
Convert a Unix timestamp (seconds) to a human-readable date in UTC and your local time zone. Instant, accurate, with code examples.
Date to Unix Timestamp
Convert any date or ISO 8601 string to a Unix timestamp in seconds and milliseconds. Supports natural language like 'next friday 5pm'.
Milliseconds to Date
Convert a Unix timestamp in milliseconds (13 digits) to a human date in UTC and local time. Common for JavaScript Date.now() and Java System.currentTimeMillis().
Unix Timestamp to ISO 8601
Convert a Unix timestamp to an ISO 8601 / RFC 3339 string (e.g. 2023-11-14T22:13:20Z). Copy-ready output with code examples in 14 languages.
ISO 8601 to Unix Timestamp
Parse an ISO 8601 / RFC 3339 date string into a Unix timestamp in seconds and milliseconds. Handles 'Z' and numeric offsets correctly.
Unix Timestamp to RFC 2822
Convert a Unix timestamp to an RFC 2822 date string (e.g. Tue, 14 Nov 2023 22:13:20 +0000), the format used in email headers and HTTP.
Nanoseconds to Date
Convert a 19-digit nanosecond Unix timestamp to a date. Common in Go (time.UnixNano), tracing systems, and high-resolution logs.
Current Unix Timestamp
The current Unix timestamp right now, live in seconds, milliseconds, microseconds, and nanoseconds. One-click copy and code to get it in any language.