Unix Timestamp Converter
Convert Unix epoch timestamps to readable dates and dates back to timestamps, in IST, UTC or any time zone.
Timestamp → date
10 digits: seconds · 13: milliseconds
Date → timestamp
Pick a date and time to see its timestamp.
Unix Timestamp Converter FAQ
What is a Unix timestamp?
It is the number of seconds since 00:00:00 UTC on 1 January 1970, the Unix epoch. For example 1700000000 is 14 November 2023, 10:13:20 pm UTC, which is 15 November 2023, 3:43:20 am IST. It is the same everywhere in the world, so apps use it to store times.
How do I convert a Unix timestamp to IST?
Paste it into this page: the India (IST) row shows the date and time in Indian Standard Time, which is UTC + 5:30. India does not use daylight saving, so the difference is always 5 hours 30 minutes.
Is my timestamp in seconds or milliseconds?
Count the digits: today's time has 10 digits in seconds and 13 in milliseconds. JavaScript's Date.now() and Java use milliseconds; Unix tools, PHP, Python's time.time() and most databases use seconds.
How do I get the current Unix timestamp in code?
JavaScript: Math.floor(Date.now() / 1000). Python: int(time.time()). PHP: time(). MySQL: UNIX_TIMESTAMP(). Linux shell: date +%s. The live clock at the top of this page shows the same value.
What is the Year 2038 problem?
Systems that store Unix time as a signed 32-bit number can only count up to 2147483647, which is 19 January 2038, 03:14:07 UTC. After that the number overflows. Most modern systems use 64-bit numbers, which last for billions of years.
Is anything I enter sent to a server?
No. All conversions run in your browser and nothing is saved.