Unix Timestamp Converter
Convert Unix epoch timestamps to human-readable dates in UTC and your local timezone. Features a live epoch ticker, ISO 8601 formatting, relative time calculation, and code snippets for all major languages.
Current Unix Epoch Time:
0
Advertisement space (in-content)
How to Get Current Unix Epoch in Popular Languages
| Language | Code Snippet |
|---|---|
| JavaScript (Node.js & Browser) | Math.floor(Date.now() / 1000) |
| Python | import time; int(time.time()) |
| PHP | time() |
| Java | System.currentTimeMillis() / 1000L |
| Go (Golang) | time.Now().Unix() |
| C# (.NET) | DateTimeOffset.UtcNow.ToUnixTimeSeconds() |
| Bash / Linux Terminal | date +%s |
| MySQL / MariaDB | SELECT UNIX_TIMESTAMP(); |
| PostgreSQL | SELECT EXTRACT(EPOCH FROM NOW()); |
Frequently Asked Questions
What is the Unix Timestamp?
The Unix timestamp (also known as Epoch time or POSIX time) is the number of seconds that have elapsed since midnight Coordinated Universal Time (UTC) on Thursday, January 1, 1970, not counting leap seconds.
What is the Year 2038 Problem (Y2038)?
On January 19, 2038, 32-bit signed integers will overflow because they cannot hold numbers greater than 2,147,483,647. Systems that have not transitioned to 64-bit timestamps will wrap around to December 13, 1901. Modern operating systems and databases have already upgraded to 64-bit timestamps, which are valid for billions of years.