Unix timestamp

1245542399

Sat 20 Jun 2009 11:59:59 PM UTC

Coordinated Universal Time

Sat Jun 20 23:59:59 2009 UTC

In your local timezone

2009-06-20T23:59:59+00:00

ISO 8601

Sat, 20 Jun 2009 23:59:59 +0000

RFC 2822

2455004

Julian Date

28 Sivan 5769

Hebrew Date

041

Swatch Internet Time

170

Day of the year

June

Month

30

Days in month

25

Week

Saturday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1245542399

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

1245542399 is representing the 170 day of the year 2009 in the Gregorian calendar, having 365 days. There are 195 days left of the year and this particular timestamp falls on a Saturday, June 20 of week 25 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 Waning crescent phase, about 229,084 miles (or 368,676 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 451, Battle of Chalons: Flavius Aetius battles Attila the Hun. After the battle, which was inconclusive, Attila retreats, causing the Romans to interpret it as a victory. And later in 1180 first Battle of Uji, starting the Genpei War in Japan. More recently, in 2019 iran's Air Defense Forces shoot down an American surveillance drone over the Strait of Hormuz amid rising tensions between the two countries.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 465 when Emperor Wencheng of Northern Wei (born in 440) passed away and in 656 when Uthman ibn Affan, Rashidun caliph (born in 577) left us. And more recently, Taylor Wily, American actor, sumo wrestler and mixed martial artist (born in 1968) who died in in 2024.

June 20, or 1245542399, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Ali az-Zahir, Fatimid caliph of Egypt (died in 1036) who was born in 1005, and later in 1389 - John of Lancaster, 1st Duke of Bedford, English statesman (died in 1435). More recently, Hans Niemann, American chess player who was born in 2003.

Conversion help

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

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

A few related timestamps to 1245542399 are:

Start of year
1230768000
End of Year
1262303999
Start of month
1243814400
End of month
1246406399
Start of day
1245456000
End fo day
1245542399
Start of hour
1245538800
End fo hour
1245542399
Start of min
1245542340
End fo min
1245542399