Online Unix Timestamp Converter
Timestamp Conversion
Current Unix timestamp (seconds)
TimeStamp
What is a Unix timestamp?
The Unix timestamp is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), without considering leap seconds.
Human-readable time | second(s) |
---|---|
1 hour | 3600 |
1 day | 86400 |
1 week | 604800 |
1 month (30.44 days) | 2629743 |
1 year (365.24 days) | 31556926 |
What will happen on January 19, 2038?
Due to the 32-bit overflow, this day Unix timestamp will stop working. Before that, millions of applications need to adopt new timestamp conventions or migrate to 64-bit systems, which will 'buy more' timestamps.
Obtain Unix timestamp in different programming languages
Language | Code |
---|---|
JavaScript |
|
Python |
|
Ruby |
|
Go |
|
Java(pure) |
|
Java(joda) |
|
Java >= 8 |
|
Swift |
|
C |
|
Objective-C |
|
MySQL |
|
SQLite |
|
PHP |
|
Erlang |
|
Shell |
|
Groovy |
|
Lua |
|
.NET/C# |
|
Dart |
|