Unix Timestamp Converter
Convert Unix epoch time to a date and back — local and UTC, seconds or milliseconds.
About Unix Timestamps (Epoch Time)
A Unix timestamp is the number of seconds since the Unix epoch — 00:00:00 UTC on January 1, 1970. It is timezone-independent, compact, and easy to compare, which is why it is used throughout programming, databases, logs and APIs.
Seconds vs. milliseconds
Many languages (C, PHP, Python’s time.time()) work in seconds, while JavaScript’s Date.now() returns milliseconds. This converter accepts either: 13+ digits are read as milliseconds, fewer as seconds. Results are shown in your local time and in UTC (ISO 8601).
Tap any result to copy it. Local time reflects your device's time zone.
Frequently Asked Questions
- What is a Unix timestamp?
- A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, not counting leap seconds. It is the standard way computers store points in time.
- How does it tell seconds from milliseconds?
- The converter auto-detects: a value with 13 or more digits is treated as milliseconds, otherwise it is treated as seconds. For example 1700000000 is seconds and 1700000000000 is milliseconds.
- Why are local time and UTC different?
- The local time is shown in your browser’s time zone, while UTC is the universal reference time. The two differ by your time-zone offset (for example, US Eastern Time is UTC−5, or UTC−4 during daylight saving).
- How do I convert a date to a timestamp?
- Switch to the "Date → Timestamp" tab and pick a date and time. The tool returns the equivalent Unix timestamp in both seconds and milliseconds.
📅 Last updated: June 2026 · Formulas follow standard banking / tax conventions · Results are for reference only.