Unix timestamp

1340243999

Thu 21 Jun 2012 01:59:59 AM UTC

Coordinated Universal Time

Thu Jun 21 01:59:59 2012 UTC

In your local timezone

2012-06-21T01:59:59+00:00

ISO 8601

Thu, 21 Jun 2012 01:59:59 +0000

RFC 2822

2456100

Julian Date

1 Tammuz 5772

Hebrew Date

124

Swatch Internet Time

172

Day of the year

June

Month

30

Days in month

25

Week

Thursday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1340243999

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

1340243999 is representing the 172 day of the year 2012 in the Gregorian calendar which was a leap year having 366 days. There are 194 days left of the year and this particular timestamp falls on a Thursday, June 21 of week 25 at 01:59 UTC in the monrning meaning that about 8% of the day has passed. At this specifc time, the moon was in its New moon phase, about 245,811 miles (or 395,594 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 533, a Byzantine expeditionary fleet under Belisarios sails from Constantinople to attack the Vandals in Africa, via Greece and Sicily. And later in 1307 Külüg Khan is enthroned as Khagan of the Mongols and Wuzong of the Yuan. More recently, in 2009 Greenland assumes self-rule.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 532 when Emperor Jiemin of Northern Wei, former Northern Wei emperor passed away and in 866 when Rodulf, Frankish Archbishop left us. And more recently, Frederick Crews, American essayist and literary critic (born 1933) who died in in 2024.

June 21, or 1340243999, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Abu Ja'far Ahmad ibn Muhammad, Saffarid emir (died 963) who was born in 906, and later in 1002 - Pope Leo IX (died 1054). More recently, Scottie Scheffler, American golfer who was born in 1996.

Conversion help

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

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

A few related timestamps to 1340243999 are:

Start of year
1325376000
End of Year
1356998399
Start of month
1338508800
End of month
1341100799
Start of day
1340236800
End fo day
1340323199
Start of hour
1340240400
End fo hour
1340243999
Start of min
1340243940
End fo min
1340243999