Unix Timestamp Converter
See the current Unix time live, convert an epoch timestamp to a readable date, or turn a date into a timestamp. It detects seconds and milliseconds automatically and supports every time zone.
Timestamp to date
Date to timestamp
How to use Unix Timestamp Converter on KickSolve
Three quick steps, no account needed.
Why choose KickSolve
Built for speed, privacy and clean results.
What you can do with Unix Timestamp Converter
Everything this tool offers.
About Unix Timestamp Converter on KickSolve
What it does and how to get the best results.
What is a Unix timestamp?
A Unix timestamp, also called epoch time or POSIX time, is the number of seconds that have passed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a single number that identifies an exact moment, which makes it ideal for storing and comparing times in databases, logs and APIs.
Seconds or milliseconds?
Classic Unix time uses seconds and has 10 digits today. JavaScript, Java and many APIs use milliseconds, which has 13 digits. Some systems use microseconds (16 digits) or nanoseconds (19 digits). The converter detects the unit from the size of the number, and you can override it.
Time zones
A Unix timestamp has no time zone: it always refers to one moment in UTC. The time zone only matters when you display it or type a local date. Choose the zone on the right and the tool converts correctly, including daylight saving.
The Year 2038 problem
Systems that store time as a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038, timestamp 2147483647. Modern 64-bit systems are not affected. Negative timestamps are valid and represent dates before 1970.
Read the KickSolve privacy policy for details about the site itself.
Get the current Unix timestamp in code
Common one-liners for seconds since the epoch.
| Language | Code |
|---|---|
| JavaScript | Math.floor(Date.now() / 1000) |
| Python | import time; int(time.time()) |
| PHP | time() |
| Java | System.currentTimeMillis() / 1000 |
| C# | DateTimeOffset.UtcNow.ToUnixTimeSeconds() |
| Go | time.Now().Unix() |
| Ruby | Time.now.to_i |
| MySQL | SELECT UNIX_TIMESTAMP(); |
| PostgreSQL | SELECT EXTRACT(EPOCH FROM now()); |
| Bash | date +%s |
Notable Unix timestamps
Handy reference points.
| Timestamp | Date (UTC) | Why it matters |
|---|---|---|
| 0 | 1970-01-01 00:00:00 | The Unix epoch |
| 1000000000 | 2001-09-09 01:46:40 | One billion seconds |
| 1700000000 | 2023-11-14 22:13:20 | 1.7 billion seconds |
| 1800000000 | 2027-01-15 08:00:00 | 1.8 billion seconds |
| 2147483647 | 2038-01-19 03:14:07 | Largest signed 32-bit value (Year 2038 problem) |
Frequently asked questions
Quick answers.
What is a Unix timestamp?
It is the number of seconds since 1 January 1970 00:00:00 UTC. It identifies a moment in time with a single number.
How do I convert a Unix timestamp to a date?
Paste the number in the Timestamp to date box. The tool shows UTC, your chosen time zone, ISO 8601 and a relative time.
How do I convert a date to a Unix timestamp?
Pick the date and time in the Date to timestamp section. The tool gives epoch seconds and milliseconds.
What is the difference between seconds and milliseconds timestamps?
Seconds timestamps have 10 digits today, while milliseconds have 13. Multiply seconds by 1000 to get milliseconds.
What is epoch time?
Epoch time is another name for Unix time, counted from the epoch, 1 January 1970 00:00:00 UTC.
Does a Unix timestamp include a time zone?
No. It is always UTC. A time zone is only applied when you display it as a local date.
What is the Year 2038 problem?
A 32-bit signed integer can only count to 2147483647, which is 19 January 2038. After that, old 32-bit systems overflow.
Can a Unix timestamp be negative?
Yes. Negative values are dates before 1970. For example, -86400 is 31 December 1969.
Why does my timestamp have 13 digits?
It is in milliseconds, which JavaScript and many APIs use. Divide by 1000 for seconds. The converter detects this automatically.
Does Unix time count leap seconds?
No. Unix time treats every day as exactly 86,400 seconds.
Is my data uploaded?
No. All conversions happen in your browser.
More free tools from KickSolve
Related everyday tools.