Unix timestamp

1340582458

Mon 25 Jun 2012 12:00:58 AM UTC

Coordinated Universal Time

Mon Jun 25 00:00:58 2012 UTC

In your local timezone

2012-06-25T00:00:58+00:00

ISO 8601

Mon, 25 Jun 2012 00:00:58 +0000

RFC 2822

2456104

Julian Date

5 Tammuz 5772

Hebrew Date

042

Swatch Internet Time

176

Day of the year

June

Month

30

Days in month

26

Week

Monday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1340582458

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

1340582458 is representing the 176 day of the year 2012 in the Gregorian calendar which was a leap year having 366 days. There are 190 days left of the year and this particular timestamp falls on a Monday, June 25 of week 26 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 Waxing crescent phase, about 234,753 miles (or 377,799 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 524, the Franks are defeated by the Burgundians in the Battle of Vézeronce. And later in 1258 War of Saint Sabas: In the Battle of Acre, the Venetians defeat a larger Genoese fleet sailing to relieve Acre. More recently, in 2022 two people are killed and 21 more injured after a gunman opens fire at three sites in Oslo in a suspected Islamist anti-LGBTQ+ attack.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 635 when Gao Zu, Chinese emperor (born 566) passed away and in 841 when Ricwin of Nantes, Frankish nobleman left us. And more recently, Bill Cobbs, American actor (born 1934) who died in in 2024.

June 25, or 1340582458, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Beatrice of England (died 1275) who was born in 1242, and later in 1328 - William de Montagu, 2nd Earl of Salisbury, English commander (died 1397). More recently, Philip Broberg, Swedish professional ice hockey player who was born in 2001.

Conversion help

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

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

A few related timestamps to 1340582458 are:

Start of year
1325376000
End of Year
1356998399
Start of month
1338508800
End of month
1341100799
Start of day
1340582400
End fo day
1340668799
Start of hour
1340582400
End fo hour
1340585999
Start of min
1340582400
End fo min
1340582459