Unix Timestamp Converter
Epoch seconds or milliseconds to dates, in any timezone.
Date to timestamp
Runs entirely in your browser. Nothing you paste or upload leaves your device.
How to use the unix timestamp converter
- Paste a Unix timestamp, or pick a date and time.
- Press “Convert” to see the date in your timezone and others.
- Use “Current timestamp” for the time right now, or “Convert date to timestamp” to go the other way.
Unix timestamp conversion example
The Unix timestamp 1767225600 is 1 January 2026, 00:00:00 UTC — 5:00 am the same day in Pakistan (UTC+5).
Tips for using the unix timestamp converter
- 10 digits means seconds; 13 digits means milliseconds (JavaScript's Date.now()).
- Store times in UTC and convert to local time only for display.
- 32-bit systems overflow in January 2038 when seconds exceed 2,147,483,647.
Unix timestamp converter: common questions
- What is a Unix timestamp?
- The number of seconds since 1 January 1970 (UTC). Computers use it to store a moment in time as a single number.
- Seconds or milliseconds?
- This tool accepts both. A 10-digit number is seconds; a 13-digit number is milliseconds.
- Which timezone is the result in?
- Your local timezone by default, with other timezones shown alongside.
- How do I get the current timestamp in code?
- JavaScript: Math.floor(Date.now() / 1000). Python: int(time.time()). SQL: varies (e.g. UNIX_TIMESTAMP() in MySQL).