util.host/timestamp

Just another unix timestamp (epoch time) and timezone converter.


Unix Timestamp: 1577836800

2020-01-01 00:00:00 UTC

  • Day of Year: 0
  • Week of Year: 01
  • Month: January (31 Days)
  • Weekday: Wednesday (Day 3)
  • Leap Year: Yes

Local Time: 2020-01-01 00:00:00 UTC

Summertime (DST): No


Relative to 1577836800

Day Start 2020-01-01 1577836800 0 s
Tomorrow 2020-01-02 1577923200 86400 s
Yesterday 2019-12-31 1577750400 -86400 s
Last Monday 2019-12-30 1577664000 -172800 s
Next Monday 2020-01-06 1578268800 432000 s
Month Start 2020-01-01 1577836800 0 s
Next Month 2020-02-01 1580515200 2678400 s
Year Start 2020-01-01 1577836800 0 s
Next Year 2021-01-01 1609459200 31622400 s

Current Timestamps

Now 2021-04-23 1619176968 1619176968 s
Today 2021-04-23 1619136000 1619136000 s
Tomorrow 2021-04-24 1619222400 1619222400 s
Yesterday 2021-04-22 1619049600 1619049600 s
Last Monday 2021-04-19 1618790400 1618790400 s
Next Monday 2021-04-26 1619395200 1619395200 s
This Month 2021-04-01 1617235200 1617235200 s
Next Month 2021-05-01 1619827200 1619827200 s
This Year 2021-01-01 1609459200 1609459200 s
Next Year 2022-01-01 1640995200 1640995200 s

Convert Timestamp Programming Languages

PHP
$dt = new Datetime('@1577836800');
echo $dt->format('r');
MySQL
select from_unixtime(1577836800);
Javascript
let dt = new Date(1577836800 * 1000); // JS works with milliseconds
console.log(dt.toUTCString());
Python
from datetime import datetime
print(datetime.utcfromtimestamp(1577836800).strftime('%c'))
Java
java.util.Date dt = new java.util.Date((long) 1577836800 * 1000);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSXXX");
System.out.println(sdf.format(dt));
C#
DateTimeOffset dt = DateTimeOffset.FromUnixTimeSeconds(1577836800);
dt.ToString("F")