Timestamp Converter

Convert Unix timestamps and human-readable dates instantly in your browser.

Current Time

Unix Seconds
-
Unix Milliseconds
-
Current ISO UTC
-

Unix Timestamp Input

Supports seconds or milliseconds
Converted date output will appear here...

Date Input

ISO or parseable date string
Converted timestamp output will appear here...
Local Date & Time
-
UTC Date & Time
-
ISO 8601
-
Unix Seconds
-
Unix Milliseconds
-
Timezone Offset
-
`Date.parse()` returns a timestamp in milliseconds for valid date strings and returns `NaN` for unrecognized input, while `toISOString()` produces a UTC ISO 8601 string ending with `Z.

How it works

JavaScript timestamps are commonly represented as milliseconds since the Unix epoch, and `Date.now()` returns the current time in that format. `Date.parse()` converts valid date strings into timestamps, while `Date.prototype.toISOString()` formats a date in simplified ISO 8601 UTC notation with a trailing `Z`.

  • Unix timestamps may be expressed in seconds or milliseconds depending on the system.
  • `Date.parse()` returns `NaN` when a date string cannot be parsed.
  • `toISOString()` always returns a UTC-based string format.