Unix timestamp

1225497540

Fri 31 Oct 2008 11:59:00 PM UTC

Coordinated Universal Time

Fri Oct 31 23:59:00 2008 UTC

In your local timezone

2008-10-31T23:59:00+00:00

ISO 8601

Fri, 31 Oct 2008 23:59:00 +0000

RFC 2822

2454772

Julian Date

2 Heshvan 5769

Hebrew Date

040

Swatch Internet Time

304

Day of the year

October

Month

31

Days in month

44

Week

Friday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

1225497540

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

1225497540 is representing the 304 day of the year 2008 in the Gregorian calendar which was a leap year having 366 days. There are 62 days left of the year and this particular timestamp falls on a Friday, October 31 of week 44 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 Waxing crescent phase, about 251,732 miles (or 405,123 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 475, Romulus Augustulus is proclaimed Western Roman Emperor. And later in 683 during the Siege of Mecca, the Kaaba catches fire and is burned down. More recently, in 2017 a truck drives into a crowd in Lower Manhattan, New York City, killing eight people.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 932 when Al-Muqtadir, Abbasid caliph (born in 895) passed away and in 994 when Wolfgang of Regensburg, German bishop and saint (born in 934) left us. And more recently, Ken Mattingly, American astronaut (born in 1936) who died in in 2023.

October 31, or 1225497540, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Ferdinand I, king of Portugal (died in 1383) who was born in 1345, and later in 1391 - Edward, King of Portugal (died in 1438). More recently, JID, American rapper who was born in 1990.

Conversion help

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

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

A few related timestamps to 1225497540 are:

Start of year
1199145600
End of Year
1230767999
Start of month
1222819200
End of month
1225497599
Start of day
1225411200
End fo day
1225497599
Start of hour
1225494000
End fo hour
1225497599
Start of min
1225497540
End fo min
1225497599