Unix timestamp

1540684799

Sat 27 Oct 2018 11:59:59 PM UTC

Coordinated Universal Time

Sat Oct 27 23:59:59 2018 UTC

In your local timezone

2018-10-27T23:59:59+00:00

ISO 8601

Sat, 27 Oct 2018 23:59:59 +0000

RFC 2822

2458420

Julian Date

18 Heshvan 5779

Hebrew Date

041

Swatch Internet Time

299

Day of the year

October

Month

31

Days in month

43

Week

Saturday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1540684799

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

1540684799 is representing the 299 day of the year 2018 in the Gregorian calendar, having 365 days. There are 66 days left of the year and this particular timestamp falls on a Saturday, October 27 of week 43 at 23:59 UTC in the afternoon meaning that about 100% of the day has passed. At this specifc time, the moon was in its Waning Gibbous phase, about 230,540 miles (or 371,018 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 312, Constantine the Great is said to have received his famous Vision of the Cross. And later in 1275 traditional founding of the city of Amsterdam. More recently, in 2017 Catalonia declares independence from Spain.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 939 when Æthelstan, English king passed away and in 1052 when Qirwash ibn al-Muqallad, Uqaylid emir left us. And more recently, Li Keqiang, premier of China (born in 1955) who died in in 2023.

October 27, or 1540684799, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Emperor Ai of Tang, Chinese emperor (died in 908) who was born in 892, and later in 921 - Chai Rong, Chinese emperor (died in 959). More recently, Leon Draisaitl, German ice hockey player who was born in 1995.

Conversion help

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

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

A few related timestamps to 1540684799 are:

Start of year
1514764800
End of Year
1546300799
Start of month
1538352000
End of month
1541030399
Start of day
1540598400
End fo day
1540684799
Start of hour
1540681200
End fo hour
1540684799
Start of min
1540684740
End fo min
1540684799