Unix Timestamp 0
Unix Epoch: This Unix timestamp represents January 1, 1970 00:00:00 UTC.
Conversion Details
| Format | Value |
|---|---|
| Unix Timestamp (seconds) | 0 |
| Unix Timestamp (milliseconds) | 0 |
| ISO 8601 | 1970-01-01T00:00:00.000Z |
| UTC | Thu, 01 Jan 1970 00:00:00 GMT |
| Local Time | January 1, 1970 00:00:00 UTC |
Code Examples
// JavaScript
const date = new Date(0 * 1000);
console.log(date.toISOString());
// Output: 1970-01-01T00:00:00.000Z
# Python
import datetime
date = datetime.datetime.fromtimestamp(0)
print(date)
# PHP
echo date('Y-m-d H:i:s', 0);