Unix timestamp

1562457540

Sat 06 Jul 2019 11:59:00 PM UTC

Coordinated Universal Time

Sat Jul 6 23:59:00 2019 UTC

In your local timezone

2019-07-06T23:59:00+00:00

ISO 8601

Sat, 06 Jul 2019 23:59:00 +0000

RFC 2822

2458672

Julian Date

3 Tammuz 5779

Hebrew Date

040

Swatch Internet Time

186

Day of the year

July

Month

31

Days in month

27

Week

Saturday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1562457540

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

1562457540 is representing the 186 day of the year 2019 in the Gregorian calendar, having 365 days. There are 179 days left of the year and this particular timestamp falls on a Saturday, July 06 of week 27 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 Waxing crescent phase, about 225,775 miles (or 363,350 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 640, Battle of Heliopolis: The Muslim Arab army under 'Amr ibn al-'As defeat the Byzantine forces near Heliopolis (Egypt). And later in 1253 Mindaugas is crowned King of Lithuania. More recently, in 2021 an Antonov An-26 operating as Petropavlovsk-Kamchatsky Air Flight 251 crashes on approach to Palana Airport, killing all 28 aboard.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 371 BC when Cleombrotus I, Spartan king passed away and in 649 when Goar of Aquitaine, French bishop left us. And more recently, Khyree Jackson, American football player (born 1999) who died in in 2024.

July 6, or 1562457540, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Queen Blanche I of Navarre (died 1441) who was born in 1387, and later in 1423 - Antonio Manetti, Italian mathematician and architect (died 1497). More recently, Justin Schultz, Canadian ice hockey player who was born in 1990.

Conversion help

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

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

A few related timestamps to 1562457540 are:

Start of year
1546300800
End of Year
1577836799
Start of month
1561939200
End of month
1564617599
Start of day
1562371200
End fo day
1562457599
Start of hour
1562454000
End fo hour
1562457599
Start of min
1562457540
End fo min
1562457599