Unix Timestamp Converter
Convert Unix timestamps to dates and back in seconds or milliseconds.
Right now
Loading current time…
Timestamp to date
- UTC2023-11-14 22:13:20 UTC
- ISO 86012023-11-14T22:13:20.000Z
- Seconds1700000000
- Milliseconds1700000000000
Date to timestamp
The date and time below are interpreted as UTC.
- Seconds1705320000
- Milliseconds1705320000000
How to Convert a Unix Timestamp
A Unix timestamp represents a specific moment in time as the number of seconds or milliseconds since January 1, 1970, at 00:00:00 UTC. This format is widely used by applications, databases, APIs and programming languages to store and exchange date and time information.
To convert a timestamp, enter its numeric value in the converter above and select whether it is measured in seconds or milliseconds. The result displays the corresponding date and time in UTC. You can also enter a date and time to calculate its Unix timestamp.
Unix Timestamp Examples
Here are some common timestamp values and their corresponding UTC dates:
| Timestamp | UTC date and time |
|---|---|
| 0 | 1970-01-01 00:00:00 |
| 1700000000 | 2023-11-14 22:13:20 |
| 1800000000 | 2027-01-15 08:00:00 |
All dates shown are in UTC. The timestamp values above are in seconds.
Seconds vs. Milliseconds
Unix timestamps are commonly represented in two units. A timestamp in seconds generally contains 10 digits for current dates, while a timestamp in milliseconds generally contains 13 digits. The millisecond value is 1,000 times the corresponding seconds value.
Always check the unit expected by the application or API supplying the timestamp. Selecting the wrong unit can produce a date far away from the intended time.
Where Are Unix Timestamps Used?
- APIs use timestamps to communicate dates and times.
- Databases store timestamps for records and event histories.
- Developers use timestamps when debugging logs and application events.
- Analytics systems use timestamps to organize activity by time.
Frequently asked questions
- What is a Unix timestamp?
- It's the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, known as the Unix epoch. Many systems store it in milliseconds instead, which is why the unit matters.
- How do I tell seconds from milliseconds?
- A millisecond timestamp is roughly 1,000× larger than the equivalent in seconds — a present-day value in seconds is about 10 digits, while milliseconds is about 13. Rather than guess, this tool asks you to pick the unit explicitly.
- Can it handle dates before 1970?
- Yes — timestamps before the epoch are negative, and they convert normally.
- Which time zone are the results in?
- Conversions are done in UTC, and the date-to-timestamp fields are interpreted as UTC. A Unix timestamp itself has no time zone; it's a fixed point in time.