Free tool • Runs in your browser
Unix timestamp converter
Convert Unix timestamps to readable dates, and dates back to timestamps.
Quick answer
A Unix timestamp counts the seconds since 1 January 1970 UTC. Values with 13 digits are usually milliseconds, and this tool detects that automatically. Results appear in UTC and in your local time.
How to use it
- Enter a timestamp or pick a date.
- Read the UTC and local time.
- Copy the value you need.
Example
1700000000
2023-11-14T22:13:20.000Z
Common errors and how to fix them
- The date is in 1970
- You likely entered seconds as milliseconds, or a very small number.
- The date is far in the future
- A millisecond value was probably read as seconds.
Frequently asked questions
What is a Unix timestamp?
It is the number of seconds since 1 January 1970 at 00:00 UTC.
How do I read a Unix timestamp?
Paste it here to see the date in UTC and your local time.
How do I get the current Unix timestamp?
It is shown at the top of this tool and updates every second.
How do I get a Unix timestamp in JavaScript?
Use Math.floor(Date.now() / 1000) for seconds. Date.now() alone returns milliseconds.
How do I get a Unix timestamp in Python?
Use int(time.time()) after importing the time module.
How do I use a Unix timestamp in Discord?
Write <t:1700000000> in your message with your own timestamp. Discord shows it in each reader's local time.
How is a Unix timestamp calculated?
It counts the seconds that have passed since the start of 1970 in UTC, without counting leap seconds.
How do I tell seconds from milliseconds?
Current timestamps have 10 digits in seconds and 13 in milliseconds. This tool detects it automatically.
What is the year 2038 problem?
Older 32-bit systems overflow on 19 January 2038. Systems using 64-bit timestamps are not affected.
Are the values I enter uploaded?
No. Conversion happens in your browser and nothing is sent to Quecko.
More developer tools
Need something built for your business?
Quecko designs and builds AI, Web3 and custom software products.