⏱ Timestamp Converter

Convert between Unix timestamps and human-readable dates in real time.

Current Unix Timestamp

--
Seconds
--
Milliseconds

Timestamp to Date

Date to Timestamp

0 chars · 0 lines · Press Ctrl+Enter to process

What Is Unix Time?

Unix time (also called Epoch time) counts the number of seconds since January 1, 1970 (midnight UTC). It's a universal timestamp format used across programming languages and databases. JavaScript uses milliseconds (13 digits), while most other systems use seconds (10 digits).

How to Use

The tool has two modes. Timestamp to Date: enter a Unix timestamp and click Convert to see the date in UTC and local time. Date to Timestamp: pick a date/time and click Convert to get the corresponding Unix timestamp in both seconds and milliseconds.

Usage Example

Timestamp to Date:

Input:  1718467200
Output: UTC: Sun, 16 Jun 2024 00:00:00 GMT
        Local: 6/15/2024, 5:00:00 PM (PST)
        ISO: 2024-06-16T00:00:00.000Z

Date to Timestamp:

Input:  2024-06-16 00:00
Output: Seconds: 1718467200
        Milliseconds: 1718467200000

Key Timestamps

EventTimestamp (Seconds)Date (UTC)
Unix Epoch0Jan 1, 1970
Y2K946684800Jan 1, 2000
Year 2038 Problem2147483647Jan 19, 2038

Frequently Asked Questions

What is the Year 2038 problem?

On January 19, 2038, 32-bit signed integers will overflow for Unix timestamps. Many older systems using 32-bit time_t will need to be updated to 64-bit before then. Modern systems using 64-bit integers are not affected.

How do I know if a timestamp is in seconds or milliseconds?

10-digit numbers are seconds (Unix/PHP/Python), 13-digit numbers are milliseconds (JavaScript/Java/C#). The tool auto-detects which format you're using.