What Is Epoch 1577836800?

Epoch 1577836800 is January 1, 2020, 0:00:00 UTC (Wednesday).

Breakdown

The Unix timestamp 1577836800 represents exactly 1.6 billion seconds (18,262 days) after the Unix epoch (January 1, 1970, 00:00:00 UTC). In ISO 8601 format, this is 2020-01-01T00:00:00Z. The timestamp equals 1.578 billion seconds, and in milliseconds it is 1577836800000.

Midnight on January 1, 2020 UTC. This year would become defined by the global COVID-19 pandemic, which fundamentally changed how software teams work with the shift to remote collaboration.

UTCWed, 01 Jan 2020 00:00:00 GMT
ISO 86012020-01-01T00:00:00Z
Day of WeekWednesday
US EasternTuesday, December 31, 2019 at 7:00:00 PM EST
Milliseconds1577836800000
Seconds Since Epoch1,577,836,800

Code Examples

Python

from datetime import datetime, timezone

# Convert epoch 1577836800 to UTC datetime
dt = datetime.fromtimestamp(1577836800, tz=timezone.utc)
print(dt)  # 2020-01-01T00:00:00+00:00

# Format as human-readable string
print(dt.strftime("%A, %B %d, %Y %H:%M:%S UTC"))
# Wednesday, January 1, 2020, 0:00:00 UTC

JavaScript

// Convert epoch 1577836800 to Date
const date = new Date(1577836800 * 1000);
console.log(date.toISOString());  // 2020-01-01T00:00:00Z
console.log(date.toUTCString());  // Wed, 01 Jan 2020 00:00:00 GMT

// Get individual components
console.log(date.getUTCFullYear());  // 2020
console.log(date.getUTCMonth() + 1); // 1

Go

package main

import (
    "fmt"
    "time"
)

func main() {
    t := time.Unix(1577836800, 0).UTC()
    fmt.Println(t.Format(time.RFC3339)) // 2020-01-01T00:00:00Z
    fmt.Println(t.Weekday())            // Wednesday
}

Frequently Asked Questions

How do I convert epoch 1577836800 in Python?

Use datetime.fromtimestamp(1577836800, tz=timezone.utc) from the datetime module. This returns a timezone-aware datetime object representing January 1, 2020, 0:00:00 UTC. For naive datetimes, use datetime.utcfromtimestamp(1577836800), though the timezone-aware version is preferred in modern Python.

What is epoch 1577836800 in milliseconds?

Epoch 1577836800 in milliseconds is 1577836800000. 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 1577836800 in the past or future?

Epoch 1577836800 is in the past. It occurred on January 1, 2020, which was 2,292 days ago.

Try the full Epoch Converter to convert any timestamp instantly.

Related Questions