Unix timestamp

31795200

Mon 04 Jan 1971 12:00:00 AM UTC

Coordinated Universal Time

Mon Jan 4 00:00:00 1971 UTC

In your local timezone

1971-01-04T00:00:00+00:00

ISO 8601

Mon, 04 Jan 1971 00:00:00 +0000

RFC 2822

2440956

Julian Date

7 Tevet 5731

Hebrew Date

041

Swatch Internet Time

3

Day of the year

January

Month

31

Days in month

01

Week

Monday

Day of the week

Time Converter


Convert a unix timestamp
Convert a date

31795200

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

31795200 is representing the 3 day of the year 1971 in the Gregorian calendar, having 365 days. There are 362 days left of the year and this particular timestamp falls on a Monday, January 04 of week 01 at 00:00 UTC in the monrning meaning that about 0% of the day has passed. At this specifc time, the moon was in its First quarter phase, about 226,985 miles (or 365,296 km) from Earth.

On this day, many notable and historically important events have taken place. But to only mention a few, in year 46 BC, Julius Caesar fights Titus Labienus in the Battle of Ruspina. And later in 1642 english Civil War: King Charles I, accompanied by 400 soldiers, attempts to arrest five members of Parliament for treason, only to discover the men had been tipped off and fled. More recently, in 2018 Hennenman-Kroonstad train crash: A passenger train operated by Shosholoza Meyl collides with a truck on a level crossing at Geneva Station between Hennenman and Kroonstad, Free State, South Africa. Twenty people are killed and 260 injured.

We've also, tragically, seen a few famous deaths throughout history on this day. One notable mention is in 871 when Æthelwulf, Saxon Ealdorman passed away and in 874 when Hasan al-Askari, eleventh of The Twelve Imams (probable; b. 846) left us. And more recently, Christian Oliver, German actor (born 1972) who died in in 2024.

January 4, or 31795200, is also a day that we should celebrate. This date marks the birth of many influential people throughout history, including Ali ibn Husayn Zayn al-Abidin (died680) who was born in 659, and later in 1077 - Emperor Zhezong of China (died 1100). More recently, Jaeden Martell, American actor who was born in 2003.

Conversion help

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

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

A few related timestamps to 31795200 are:

Start of year
31536000
End of Year
63071999
Start of month
31536000
End of month
34214399
Start of day
31795200
End fo day
31881599
Start of hour
31795200
End fo hour
31798799
Start of min
31795200
End fo min
31795259