Unix timestamp converter
Date & timeHow do you turn a Unix timestamp into a date?
Convert Unix timestamps to dates and dates to timestamps, in any time zone.
What you enter stays on your device while you use this tool. Opening a shared link sends the settings in its address to HowToolbox to prepare the page.
Seconds since 1 January 1970 UTC. Leave empty for now.
Time zone and unit
Date and time
Other forms
Sponsored Links
Convert Unix timestamps to dates and dates to timestamps, in any time zone.
How to use
- Paste a Unix timestamp to see the date and time it stands for. Leave it empty to see the current time.
- If the number has 13 digits, it is in milliseconds: switch Timestamp is in to Milliseconds.
- Choose the time zone you want the date in. To go the other way, pick Date to timestamp and enter a local date and time.
Timestamps near the Unix epoch
Sponsored Links
How it works
A Unix timestamp is a way of saying when something happened with a single number: the seconds that have passed since midnight at the start of 1 January 1970, in UTC. Computers, databases, logs and programming languages use it because a number is easy to store, compare and subtract, and it means the same moment everywhere. JavaScript and many systems count in milliseconds instead, which gives a number a thousand times larger.
Turning a timestamp into a date is arithmetic: every day counts as exactly 86,400 seconds, so the number is split into whole days since 1970 and the seconds left over (POSIX, Seconds Since the Epoch). For example 1,700,000,000 is 14 November 2023 at 22:13:20 UTC. The time zone only changes how that moment is written on a clock; the timestamp stays the same. The result is also given in the ISO 8601 form used on the internet (RFC 3339), such as 2023-11-14T22:13:20Z.
Unix time ignores leap seconds, and this tool covers the years 1 to 9999. A local time can be ambiguous or missing when the clocks change for daylight saving time, and the tool tells you when that happens.
Frequently asked questions
Is my timestamp in seconds or milliseconds?
Today a timestamp in seconds has 10 digits and one in milliseconds has 13. If the date comes out thousands of years in the future, you have milliseconds.
Does a timestamp depend on the time zone?
No. It counts from one moment in UTC, so it is the same everywhere. Only the date and time written from it differ by zone.
What happens in the year 2038?
Systems that store the timestamp in a 32-bit signed number run out on 19 January 2038. This tool uses larger numbers, so it keeps working.
What does a negative timestamp mean?
It is a time before 1 January 1970 at 00:00 UTC.
Are leap seconds included?
No. Each day counts as exactly 86,400 seconds.
Next you might need
- Decimal hours converterHours and minutes to decimal hours and back, and the total of a timesheet in both., private, runs on your deviceDate & timeConverterCalculatorSalary
- Exact ageYour age in years, months and days, the totals and your next birthday., private, runs on your deviceDate & timeCalculator
- Chess clockTwo chess clocks with increment or delay, a move counter and a flag at zero., private, runs on your deviceDate & timeCalculatorSound
- CountdownDays, hours, minutes and seconds to any date and time, or to the next New Year, Christmas or Midsummer, live and full screen., private, runs on your deviceDate & timeCalculatorSound
- Date differenceCalendar days, full months and Finnish working days., private, runs on your deviceDate & timeCalculator
- Duration calculatorFind the time between two dates and clock times, add or subtract a duration, or total a list of hh:mm:ss times., private, runs on your deviceDate & timeCalculator
More in Date & time
All 25 utilities in Date & time- Countdown timerA little time, clearly counted., private, runs on your device
- StopwatchStart, lap, stop: every split kept., private, runs on your device
- Daylight saving time changesThe next and previous clock change in any time zone, whether the clocks go forward or back, and every change of a year., private, runs on your device
- Finnish public holidaysFinnish public holidays and eves for any year, with weekdays and the days to the next one., private, runs on your device
- Full-screen clockAn easy-to-read clock for your desk or the whole room., private, runs on your device
- Interval timerWork and rest rounds with a big display and a sound at every change., private, runs on your device
Popular now
Sponsored Links
Sponsored Links
Sponsored Links