What it does
Converts a Unix timestamp (seconds or milliseconds since 1970-01-01) to a human-readable date, and vice versa. Also shows the current timestamp, updating live.
Try it
How it works
- A timestamp is auto-detected as seconds (10 digits) or milliseconds (13 digits) based on its length, then passed to
new Date(). - The result is shown both in your browser's local timezone and in UTC.
- Converting a date picker value to a timestamp uses
Date.getTime()divided by 1000 to get seconds.
Everything runs locally in your browser — nothing is uploaded anywhere.