Manual:Timestamp
From MediaWiki.org
The format of a timestamp (date and time specified in URLs) is yyyymmddhhmmss, UTC time.
Conversion to human readable format:
<?php
$year = substr($timestamp, 0, 4);
$month = substr($timestamp, 4, 2);
$day = substr($timestamp, 6, 2);
$hour = substr($timestamp, 8, 2);
$minute = substr($timestamp, 10, 2);
$second = substr($timestamp, 12, 2);
$date = date('M d, Y H:i:s', mktime($hour, $minute, $second, $month, $day, $year));
?>
- extended from http://www.hawkee.com/snippet.php?snippet_id=427