Convert between Unix timestamps and human-readable date/time
A Unix timestamp (Epoch Time) represents the number of seconds elapsed since 1970-01-01 00:00:00 UTC. It is the most universal time representation in computing — timezone-independent, easy to store, and simple to compare across systems.
| Unit | Digits | Example | Use Case |
|---|---|---|---|
| Seconds | 10 | 1705319400 |
Unix systems, most APIs |
| Milliseconds | 13 | 1705319400000 |
JS Date.now(), Java |
| Microseconds | 16 | 1705319400000000 |
High-precision logging |
Unix timestamps count from 1970-01-01 00:00:00 UTC and carry no timezone information — timezone only affects how the value is displayed.
32-bit limit: 2147483647 corresponds to 2038-01-19; 32-bit systems will overflow. Modern systems use 64-bit, which can represent dates billions of years ahead.
Timestamps are better for storage and computation — they're integers with no timezone ambiguity, and sort/compare efficiently. Date strings are better for user-facing display.
This is likely a timezone issue. Timestamps are inherently UTC. If you're in UTC+8, local time will be 8 hours ahead of UTC. Check that the correct timezone is selected in the tool.
Milliseconds. JavaScript uses 13-digit millisecond timestamps. Divide by 1000 to get a standard Unix seconds timestamp.