Unix timestamp

1345586400

Tue 21 Aug 2012 10:00:00 PM UTC

Coordinated Universal Time

Tue Aug 21 22:00:00 2012 UTC

In your local timezone

2012-08-21T22:00:00+00:00

ISO 8601

Tue, 21 Aug 2012 22:00:00 +0000

RFC 2822

2456162

Julian Date

3 Elul 5772

Hebrew Date

958

Swatch Internet Time

233

Day of the year

August

Month

31

Days in month

34

Week

Tuesday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1345586400

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

1345586400 is representing the 233 day of the year 2012 in the Gregorian calendar which was a leap year having 366 days. There are 133 days left of the year and this particular timestamp falls on a Tuesday, August 21 of week 34 at 22:00 UTC in the afternoon meaning that about 92% of the day has passed. At this specifc time, the moon was in its Waxing crescent phase, about 227,727 miles (or 366,491 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 959, Eraclus becomes the 25th Bishop of Liège. And later in 1140 Song dynasty general Yue Fei defeats an army led by Jin dynasty general Wuzhu at the Battle of Yancheng during the Jin-Song Wars. More recently, in 1942 World War II: The Guadalcanal Campaign: American forces defeat an attack by Imperial Japanese Army soldiers in the Battle of the Tenaru.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 672 when Emperor Kōbun of Japan (born 648) passed away and in 784 when Alberic, archbishop of Utrecht left us. And more recently, John Amos, American actor (born 1939) who died in in 2024.

August 21, or 1345586400, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Philip II of France (died 1223) who was born in 1165, and later in 1481 - Jorge de Lencastre, Duke of Coimbra (died 1550). More recently, Maxim Knight, American actor who was born in 1999.

Conversion help

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

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

A few related timestamps to 1345586400 are:

Start of year
1325376000
End of Year
1356998399
Start of month
1343779200
End of month
1346457599
Start of day
1345507200
End fo day
1345593599
Start of hour
1345586400
End fo hour
1345589999
Start of min
1345586400
End fo min
1345586459