Reading a log entry's time
A timestamp from a log line converts to the UTC moment it records, which is what you need to line events up.
Convert a Unix timestamp to a readable UTC date in your browser, handling seconds and milliseconds.
Maintained by Roshan.
Converts unix timestamp to date and time in this tab, with nothing sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all general convertersA Unix timestamp is the number of seconds since the first moment of 1970, and it is how computers store time almost everywhere - in databases, logs, APIs and file metadata - because a single number is unambiguous and easy to compare. The trouble is that a person cannot read it. Converting one to a readable date is a constant need when debugging: working out when a log entry was written, when a record was created, when a token expires. The one genuine pitfall is that timestamps come in two scales. Ten digits is seconds; thirteen is milliseconds, which many systems use for finer precision. Treating a millisecond value as seconds throws the date thousands of years into the future, so this tool tells them apart by length and interprets each correctly.
A timestamp from a log line converts to the UTC moment it records, which is what you need to line events up.
An expiry stored as a timestamp converts to a date you can actually judge against now.
Because timestamps are defined in UTC. Showing it in UTC avoids any timezone ambiguity; convert to local time separately if needed.
By the number of digits. Ten digits is seconds, thirteen is milliseconds. Guessing wrong would throw the date off by thousands of years.
Remove the fraction first. This expects a whole number of seconds or milliseconds.
Those are negative timestamps and outside the common case this targets.
Convert a date and time to a Unix timestamp in your browser.
Convert a hexadecimal number to decimal in your browser, with full precision for large values.
Convert a decimal number to hexadecimal in your browser, with full precision for large values.