Unix timestamp

1540339200

Wed 24 Oct 2018 12:00:00 AM UTC

Coordinated Universal Time

Wed Oct 24 00:00:00 2018 UTC

In your local timezone

2018-10-24T00:00:00+00:00

ISO 8601

Wed, 24 Oct 2018 00:00:00 +0000

RFC 2822

2458416

Julian Date

15 Heshvan 5779

Hebrew Date

041

Swatch Internet Time

296

Day of the year

October

Month

31

Days in month

43

Week

Wednesday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1540339200

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

1540339200 is representing the 296 day of the year 2018 in the Gregorian calendar, having 365 days. There are 69 days left of the year and this particular timestamp falls on a Wednesday, October 24 of week 43 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 Full moon phase, about 241,886 miles (or 389,278 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 69, in the Second Battle of Bedriacum, troops loyal to Vespasian defeat those of Emperor Vitellius. And later in 1360 the Treaty of Brétigny is ratified, marking the end of the first phase of the Hundred Years' War. More recently, in 2003 Concorde makes its last commercial flight.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 935 when Li Yu, Chinese official and chancellor passed away and in 996 when Hugh Capet, French king left us. And more recently, Jeri Taylor, American screenwriter (born in 1938) who died in in 2024.

October 24, or 1540339200, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Domitian, Roman emperor (died in 96) who was born in 51, and later in 1378 - David Stewart, Duke of Rothesay heir to the throne of Scotland (died in 1402). More recently, Daya, American singer who was born in 1998.

Conversion help

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

PHP
date('Y-m-d H:i:s', 1540339200);
MySQL
select from_unixtime(1540339200);
JavaScript
new Date(1540339200*1000).toString();
C++
time_t epch = 1540339200;
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(1540339200));
Java
new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new Date(1540339200 * 1000L))
Ruby
require 'date'
DateTime.strptime("1540339200",'%s')
Binary
10110111 10011111 01101100 0000000
Hexadecimal
5bcfb600

A few related timestamps to 1540339200 are:

Start of year
1514764800
End of Year
1546300799
Start of month
1538352000
End of month
1541030399
Start of day
1540339200
End fo day
1540425599
Start of hour
1540339200
End fo hour
1540342799
Start of min
1540339200
End fo min
1540339259