To Do
To Do

Reputation: 137

What date format is 1376172000?

On a site I visit regularly, I noticed that, when I select a particular date (11 august 2013 in this case), ?date=1376172000 is added to the url in the address bar.

What format or standard is this date?

Upvotes: 0

Views: 59

Answers (5)

Leo T Abraham
Leo T Abraham

Reputation: 2437

It looks like a UNIX timestamp.

Upvotes: 0

Mohan Raj
Mohan Raj

Reputation: 457

It is a UNIX Time Stamp
you can Convert this to human readable format

<?php
$timestamp=$_GET['date']; // which gives 1376172000
echo gmdate("Y-m-d\ H:i:s", $timestamp);
?>

Upvotes: 0

Ashwani
Ashwani

Reputation: 3481

This is time in seconds defined as the number of seconds which have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.

Upvotes: 0

John3136
John3136

Reputation: 29266

Most likely "units from epoch" e.g. in unix, seconds since 00:00 GMT 01 Jan 1970. Other systems / sites could use different units and a different starting time (epoch)

Upvotes: 2

fiskeben
fiskeben

Reputation: 3467

This is most likely a Unix timestamp.See http://www.unixtimestamp.com/

Upvotes: 0

Related Questions