Timezone
Local Time Timestamp Seconds (10-digit) Milliseconds (13-digit)

0/13

Unix Timestamp Converter

Convert between local time and Unix timestamps (seconds/milliseconds) with full timezone support. Features real-time current timestamp display and one-click copy.

All tools on this site run entirely in your browser locally. No data is uploaded to any server.

Features:

  • Shows your browser's local IANA timezone name, standard/DST status, and current offset; timezones can be freely switched
  • Live display of the current local time along with corresponding 10-digit (seconds) and 13-digit (milliseconds) timestamps
  • Convert timestamps to local time with automatic 10/13-digit detection: 10-digit values are treated as seconds, 13-digit as milliseconds
  • Convert local time to timestamp in either seconds (10-digit) or milliseconds (13-digit)
  • 1 second = 1,000 milliseconds; simply append three zeros to a 10-digit timestamp to convert it to 13-digit format
  • Built-in date picker with one-click current time insertion
  • One-click copy for conversion results

FAQ:

  • Q: Do I need to click "Convert to Local Time", and how are 10- and 13-digit values read?
    A: Both rows convert as you type; the button only runs it again and shows a hint for empty or invalid input. Up to 10 digits are treated as seconds and exactly 13 as milliseconds. With 11 or 12 digits the result is cleared and the counter turns red, while a short value like "1" simply gives a 1970 date.
  • Q: Why does the 13-digit output always end in 000, and why do the last three digits of the live one never change?
    A: The local-time field only goes down to seconds, so "To Milliseconds" appends three zeros to the seconds result. The live 13-digit value pairs the current seconds with the milliseconds captured when the page loaded, so its first ten digits tick over while the last three stay fixed.
  • Q: What changes when I pick another timezone, and why does the timezone name stay put?
    A: The dropdown uses fixed UTC offsets from UTC-12 to UTC+14, including half-hour and 45-minute ones. Switching it recalculates the current time and both conversions: the same timestamp is 8 hours apart under UTC+8 and UTC+0. The IANA name and the Standard time / DST badge describe your browser's system timezone, so they don't follow the dropdown.
  • Q: What date format is accepted, and what if I only enter a date?
    A: Use yyyy-MM-dd HH:mm:ss. A date on its own, such as 2026-11-08, means midnight, and missing parts default to the 1st or 00:00:00. The date picker and Now fill in the current time for the selected timezone; clearing the field does the same so the calendar opens on the right day.
  • Q: Does Stop disable the conversions, and can I edit the live timestamps at the top?
    A: Stop only freezes the live clock, and Resume restarts it; both conversions keep working. Those top fields are for display: a field you're focused on pauses refreshing so it isn't overwritten, but editing it doesn't change the conversions. Use "Timestamp (10/13-digit)" for a specific value.

Common uses:

  • Converting between database timestamps and readable date/time values
  • Timestamp conversion and validation while debugging APIs
  • Reading and interpreting timestamps in log files
  • Standardizing timestamp formats across different programming languages