Unix timestamp

1540421995

Wed 24 Oct 2018 10:59:55 PM UTC

Coordinated Universal Time

Wed Oct 24 22:59:55 2018 UTC

In your local timezone

2018-10-24T22:59:55+00:00

ISO 8601

Wed, 24 Oct 2018 22:59:55 +0000

RFC 2822

2458417

Julian Date

15 Heshvan 5779

Hebrew Date

999

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

1540421995

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

1540421995 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 22:59 UTC in the afternoon meaning that about 96% of the day has passed. At this specifc time, the moon was in its Full moon phase, about 239,057 miles (or 384,725 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 1540421995, 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 1540421995 timestamp to serveral of the most popular programming lanugages below.

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

A few related timestamps to 1540421995 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
1540418400
End fo hour
1540421999
Start of min
1540421940
End fo min
1540421999