|
|
@ -5,10 +5,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
// Testing
|
|
|
|
// Testing
|
|
|
|
$now = new DateTime();
|
|
|
|
$now = new DateTime();
|
|
|
|
$zero = new DateTime('0001-01-01');
|
|
|
|
$zero = new DateTime('1442-01-01');
|
|
|
|
$diff = $now->diff($zero);
|
|
|
|
$diff = $now->diff($zero);
|
|
|
|
echo $diff->format('%a days'); // days since day zero
|
|
|
|
echo $diff->format('%a days'); // days since day zero
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$year = date("Y") - 579;
|
|
|
|
|
|
|
|
echo "Year " . $year;
|
|
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
?>
|
|
|
|
Placeholder.
|
|
|
|
Placeholder.
|
|
|
|
|
|
|
|
|
|
|
|