TOOLTIKI Lovable tool, really free
Date & time Timestamps

Nanoseconds to date converter

Value
Reading it as
UTC date and time 2023-11-14T22:13:20Z
Readable Tue, 14 Nov 2023 22:13:20 GMT
Unix seconds 1,700,000,000
Unix milliseconds 1,700,000,000,000
Windows FILETIME 133,444,736,000,000,000
.NET ticks 638,355,968,000,000,000
Excel serial 45,244.925926
Mac HFS+ seconds 3,782,844,800
Note
Local · beyond JavaScript’s safe integer range
Advertisement
320 × 100

Converts a nineteen-digit nanosecond timestamp into a date. Go’s `time.UnixNano()`, Prometheus and most tracing systems work in nanoseconds.

How to use the nanoseconds to date converter

1 Paste the value. Every other epoch is shown alongside the date.
2 Change what it is being read as if the number is from a different system.
3 All times are UTC — convert to your own zone separately if you need local time.

Nanosecond precision runs into a hard limit that catches people out: a signed 64-bit integer of nanoseconds only spans about 584 years, so Go’s `UnixNano` is documented as undefined outside 1678 to 2262. That is fine for observability data and wrong for anything historical. The other practical point is that JavaScript cannot represent these numbers exactly — a nineteen-digit integer exceeds the 53-bit safe integer range, so parsing one into a `Number` loses the last few digits. Anything comparing nanosecond timestamps for ordering needs BigInt or strings, not floats.

Questions

Go’s time package, Prometheus, OpenTelemetry and most distributed tracing.

Go — time package
Advertisement
300 × 250
Was this tool any good?
INTERNAL SIGNAL ONLY · WE USE IT TO FIND TOOLS WORTH REBUILDING