Skip to content
Categories
Unix Timestamp Converter
Convert between Unix timestamps and dates.
Timestamp to Date
Date to Timestamp
Overview
- Converts between Unix timestamps (seconds or milliseconds elapsed since 1970-01-01) and human-readable date formats (ISO 8601, UTC, and local time).
- Useful for converting a numeric-only timestamp found in an API response or log into a human-readable date, or the other way around.
- Supports both seconds and milliseconds as input units, explicitly selected via radio buttons.
Usage
- In "Timestamp to Date", enter the Unix timestamp you want to convert and select its unit (seconds or milliseconds), then click "Convert".
- The result is displayed in three formats: ISO 8601, UTC, and local time.
- To convert the other way, enter a date and time into the "Date to Timestamp" field and click "Convert".
Example
Input
1704067200 (seconds)
Output
ISO 8601: 2024-01-01T00:00:00.000Z UTC: Mon, 01 Jan 2024 00:00:00 GMT
Use Cases
- Converting a Unix timestamp stored in a log or database into an actual date to check it
- Working backward from a specific date to prepare a timestamp, such as an expiration (exp), to include in an API request
- Checking how a moment looks in different timezones by viewing UTC and local time side by side
FAQ
How do I tell seconds and milliseconds apart?
A value with around 10 digits (valid until roughly the year 2286) is seconds, and around 13 digits is milliseconds. Use the radio buttons next to the input field to select the unit.
Which timezone is local time displayed in?
It is displayed in the timezone configured on your browser or device.
Is the date and time I enter sent anywhere?
No. All conversion happens entirely in your browser.
Notes
- Local time is displayed in the timezone configured on your browser or device. Opening this on a different environment may show a different time.
- Mixing up seconds and milliseconds results in a very different date. Use the rough digit count (about 10 digits for seconds, about 13 for milliseconds) as a guide when choosing the unit.
- In the "Date to Timestamp" field, enter a date-time string in a format the browser can parse, such as ISO 8601.
Related Tools
Convert a date and time to a different timezone.
Convert a date and time to ISO 8601, RFC 2822, a custom format, and more.
Generate a cron expression by specifying minute, hour, day, month, and weekday.
Convert a cron expression into a human-readable description.