Unix Timestamp Converter (Seconds, Milliseconds, JST and UTC)
About this tool
View Unix timestamps from logs or APIs as dates and times in Japan Standard Time (JST) and Coordinated Universal Time (UTC) side by side. You can also convert a date and time into Unix seconds or milliseconds. All processing happens entirely in your browser (no data is sent).
Unix timestamp to date and time
Japan Standard Time (JST) —
Coordinated Universal Time (UTC) —
Date and time to Unix timestamp
Unix seconds —
Unix milliseconds —
Read a log timestamp in Japan Standard Time
Suppose an API returns 1735689600125 as a creation time and its documentation specifies Unix milliseconds. Here is how to read it.
- Paste
1735689600125into “Unix timestamp” and select “Milliseconds”. - The UTC result is
2025-01-01 00:00:00.125and the JST result is2025-01-01 09:00:00.125. The final.125represents 125 milliseconds.
Unix time counts from midnight on January 1, 1970 UTC. The same instant has the same value in Tokyo and London. The JST output already includes the nine-hour offset, so use the value exactly as it appears in the log.
When a recent log shows a date in 1970
1735689600 means January 1, 2025 UTC in seconds, but January 21, 1970 UTC in milliseconds. Recent logs typically have 10 digits for integer seconds and 13 for milliseconds. Older timestamps can have different lengths, so check the unit in the log specification or API field documentation.
Find a log search start value from Japan Standard Time
To search for logs from midnight on January 1, 2025 JST, start at 15:00 UTC on December 31. The tool handles this change of date.
- Enter
2025-01-01 00:00in “Date and time” and select “Japan Standard Time (UTC+09:00)”. Omitted seconds default to zero. - Use
1735657200if the search expects seconds, or1735657200000if it expects milliseconds. If the original date and time is in UTC, set the input time zone to “Coordinated Universal Time (UTC)”.
Supported values
Seconds can have up to three decimal places. Milliseconds must be integers. Negative values represent instants before the Unix epoch in 1970. For example, -1 millisecond means December 31, 1969 at 23:59:59.999 UTC.
Both the UTC and JST results must be within years 0001 through 9999. JST is treated as UTC+09:00 throughout this range. Leap seconds are unsupported.