What Is Epoch 86400?
Epoch 86400 is January 2, 1970, 0:00:00 UTC (Friday).
Breakdown
The Unix timestamp 86400 represents exactly 86,400 seconds (1 day) after the Unix epoch (January 1, 1970, 00:00:00 UTC). In ISO 8601 format, this is 1970-01-02T00:00:00Z. The timestamp equals 0.000 billion seconds, and in milliseconds it is 86400000.
This timestamp marks exactly 24 hours (one full day) after the Unix epoch. It equals 60 seconds times 60 minutes times 24 hours, a convenient round number for testing day-level calculations.
| UTC | Fri, 02 Jan 1970 00:00:00 GMT |
| ISO 8601 | 1970-01-02T00:00:00Z |
| Day of Week | Friday |
| US Eastern | Thursday, January 1, 1970 at 7:00:00 PM EST |
| Milliseconds | 86400000 |
| Seconds Since Epoch | 86,400 |
Code Examples
Python
from datetime import datetime, timezone
# Convert epoch 86400 to UTC datetime
dt = datetime.fromtimestamp(86400, tz=timezone.utc)
print(dt) # 1970-01-02T00:00:00+00:00
# Format as human-readable string
print(dt.strftime("%A, %B %d, %Y %H:%M:%S UTC"))
# Friday, January 2, 1970, 0:00:00 UTC
JavaScript
// Convert epoch 86400 to Date
const date = new Date(86400 * 1000);
console.log(date.toISOString()); // 1970-01-02T00:00:00Z
console.log(date.toUTCString()); // Fri, 02 Jan 1970 00:00:00 GMT
// Get individual components
console.log(date.getUTCFullYear()); // 1970
console.log(date.getUTCMonth() + 1); // 1
Go
package main
import (
"fmt"
"time"
)
func main() {
t := time.Unix(86400, 0).UTC()
fmt.Println(t.Format(time.RFC3339)) // 1970-01-02T00:00:00Z
fmt.Println(t.Weekday()) // Friday
}
Frequently Asked Questions
How do I convert epoch 86400 in Python?
Use datetime.fromtimestamp(86400, tz=timezone.utc) from the datetime module. This returns a timezone-aware datetime object representing January 2, 1970, 0:00:00 UTC. For naive datetimes, use datetime.utcfromtimestamp(86400), though the timezone-aware version is preferred in modern Python.
What is epoch 86400 in milliseconds?
Epoch 86400 in milliseconds is 86400000. JavaScript, Java, and many APIs use millisecond timestamps. To convert, multiply the seconds-based timestamp by 1000. To go back, divide by 1000 and drop the remainder.
Is epoch 86400 in the past or future?
Epoch 86400 is in the past. It occurred on January 2, 1970, which was 20,553 days ago.
Try the full Epoch Converter to convert any timestamp instantly.