Unix timestamp

1540857600

Tue 30 Oct 2018 12:00:00 AM UTC

Coordinated Universal Time

Tue Oct 30 00:00:00 2018 UTC

In your local timezone

2018-10-30T00:00:00+00:00

ISO 8601

Tue, 30 Oct 2018 00:00:00 +0000

RFC 2822

2458422

Julian Date

21 Heshvan 5779

Hebrew Date

041

Swatch Internet Time

302

Day of the year

October

Month

31

Days in month

44

Week

Tuesday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1540857600

Converting Unix timestamp 1540857600 using our Time Converter gives us the following information:

1540857600 is representing the 302 day of the year 2018 in the Gregorian calendar, having 365 days. There are 63 days left of the year and this particular timestamp falls on a Tuesday, October 30 of week 44 at 00:00 UTC in the monrning meaning that about 0% of the day has passed. At this specifc time, the moon was in its Third quarter phase, about 226,862 miles (or 365,100 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 637, Arab-Byzantine wars: Antioch surrenders to the Rashidun Caliphate after the Battle of the Iron Bridge. And later in 758 Guangzhou is sacked by Arab and Persian pirates. More recently, in 2022 a pedestrian suspension bridge collapses in the city of Morbi, Gujarat, leading to the deaths of at least 135 people.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 526 when Paul of Edessa, Syriac Orthodox bishop of Edessa passed away and in 1137 when Sergius VII, Duke of Naples left us. And more recently, Matt Peacock, Australian journalist and author (born in 1952) who died in in 2024.

October 30, or 1540857600, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Julia the Elder, Roman daughter of Augustus (died in 14) who was born in 39 BC, and later in 1218 - Emperor Chūkyō of Japan (died in 1234). More recently, Cale Makar, Canadian ice hockey player who was born in 1998.

Conversion help

For your conveniance, we have listed the conversion syntaxes for 1540857600 timestamp to serveral of the most popular programming lanugages below.

PHP
date('Y-m-d H:i:s', 1540857600);
MySQL
select from_unixtime(1540857600);
JavaScript
new Date(1540857600*1000).toString();
C++
time_t epch = 1540857600;
printf("%i -> %s", epch, asctime(gmtime(&epch))); (time.h);
C#
String.Format("{0:d/M/yyyy HH:mm:ss}", new System.DateTime(1970, 1, 1, 0, 0, 0, 0).AddSeconds(1540857600));
Java
new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new Date(1540857600 * 1000L))
Ruby
require 'date'
DateTime.strptime("1540857600",'%s')
Binary
10110111 10101111 00111110 0000000
Hexadecimal
5bd79f00

A few related timestamps to 1540857600 are:

Start of year
1514764800
End of Year
1546300799
Start of month
1538352000
End of month
1541030399
Start of day
1540857600
End fo day
1540943999
Start of hour
1540857600
End fo hour
1540861199
Start of min
1540857600
End fo min
1540857659