Reputation: 137
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
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
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
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
Reputation: 3467
This is most likely a Unix timestamp.See http://www.unixtimestamp.com/
Upvotes: 0