Unix Epoch Converter
Convert Unix timestamps to dates in UTC or a chosen time zone. Convert dates back to Unix seconds or milliseconds.
Get Current Timestamp
Math.floor(Date.now() / 1000);
Choose a conversion
- Epoch to date. Paste the whole timestamp and choose its unit, or use Auto-detect.
- Date to epoch. Enter a date and time or paste a value like
2026-07-01 08:00:00.123456from a log or database. Select the time zone where it was recorded. - Paste an ISO date to get Unix time. Use this when the date already ends in a UTC offset or
Z. - Current epoch time. Copy the live value in seconds or milliseconds.
- Create a Discord timestamp. Share an event time that displays in each reader’s time zone. To read an ID or message link, decode its creation time.
- Build a one-time AWS schedule. Paste an ISO date or Unix timestamp into the EventBridge Scheduler builder.
- Find the difference between two Unix timestamps. Compare times from logs and APIs even when their units differ.
Pick the output you need
- Epoch seconds or milliseconds
- Match the unit your system expects. For example, the Unix shell command
date +%sreturns seconds and JavaScriptDate.now()returns milliseconds. - Readable date and time
- Use this for reports or to read logs in a chosen time zone. Include the zone when sharing a value.
- ISO 8601
- The UTC result ends in
Z. Choose a time zone to copy local time with its UTC offset, such as+05:30. Both results preserve up to nine fractional digits.
Try a known timestamp
- -1December 31, 1969 at 23:59:59 UTC
- 0January 1, 1970 at midnight UTC
- 1700000000November 14, 2023 at 22:13:20 UTC
Get Unix timestamps for the start and end of a year. January 1, 2027 at midnight UTC is 1798761600 seconds. You can also look up ISO week numbers and timestamps.
January 1, 2026 at midnight UTC
Try 1767225600 seconds or 1767225600000 milliseconds. Both represent the start of 2026 in UTC.
Timestamp units and time zones
- What is Unix epoch time?
- The Unix epoch starts at January 1, 1970 at 00:00:00 UTC. A negative timestamp refers to a time before that instant.
- How does the converter tell units apart?
- The converter uses the number of digits to identify seconds, milliseconds, microseconds, or nanoseconds. An 11- or 12-digit value can be seconds or milliseconds. Select the unit your source uses. For example, 1000 milliseconds is one second after the epoch.
- How do I convert epoch time to EST?
- Choose EST (fixed UTC−05:00) when the source specifies Eastern Standard Time year-round. Choose US Eastern (New York, EST/EDT) to follow local clock changes. For example,
1782907200is noon UTC on July 1, 2026. Open it as 7:00 a.m. fixed EST or 8:00 a.m. New York time (EDT). - Why did the displayed date change?
- The same instant can fall on different dates in different time zones. For example, midnight on January 1 in UTC is 4:00 p.m. on December 31 in Los Angeles. When converting back to epoch, select the date’s original time zone.
More timestamp tools and examples
- Convert a list between Unix timestamps and ISO dates
- Convert a timestamp column in a CSV file
- Convert Excel or Google Sheets date serials
- Convert Windows FILETIME and Chrome timestamps
- Convert timestamps in JSON logs
- Extract timestamps from logfmt logs
- Decode MongoDB ObjectId timestamps
- Convert milliseconds to a date
- Convert seconds to milliseconds
- Read the Unix timestamp conversion guide
- Build a Linux or macOS date command
- Copy the current Unix timestamp
- Get timestamps and UUIDv7 bounds for a day in any time zone
- Find examples for your programming language