Unix timestamp

1342054799

Thu 12 Jul 2012 12:59:59 AM UTC

Coordinated Universal Time

Thu Jul 12 00:59:59 2012 UTC

In your local timezone

2012-07-12T00:59:59+00:00

ISO 8601

Thu, 12 Jul 2012 00:59:59 +0000

RFC 2822

2456121

Julian Date

22 Tammuz 5772

Hebrew Date

083

Swatch Internet Time

193

Day of the year

July

Month

31

Days in month

28

Week

Thursday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1342054799

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

1342054799 is representing the 193 day of the year 2012 in the Gregorian calendar which was a leap year having 366 days. There are 173 days left of the year and this particular timestamp falls on a Thursday, July 12 of week 28 at 00:59 UTC in the monrning meaning that about 4% of the day has passed. At this specifc time, the moon was in its Third quarter phase, about 250,899 miles (or 403,783 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 70, the armies of Titus attack the walls of Jerusalem after a six-month siege. Three days later they breach the walls, which enables the army to destroy the Second Temple. And later in 927 king Constantine II of Scotland, King Hywel Dda of Deheubarth, Ealdred of Bamburgh and King Owain of the Cumbrians accepted the overlordship of King Æthelstan of England, leading to seven years of peace in the north. More recently, in 2006 the 2006 Lebanon War begins.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 524 when Viventiolus, archbishop of Lyon (born 460) passed away and in 783 when Bertrada of Laon, Frankish queen (born 720) left us. And more recently, Evan Wright, American writer (born 1964) who died in in 2024.

July 12, or 1342054799, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Julius Caesar, Roman politician and general (died 44 BC) who was born in 100 BC, and later in 1394 - Ashikaga Yoshinori, Japanese shōgun (died 1441). More recently, Nico Williams, Spanish footballer who was born in 2002.

Conversion help

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

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

A few related timestamps to 1342054799 are:

Start of year
1325376000
End of Year
1356998399
Start of month
1341100800
End of month
1343779199
Start of day
1342051200
End fo day
1342137599
Start of hour
1342051200
End fo hour
1342054799
Start of min
1342054740
End fo min
1342054799