More testing

master
YandolsZX 4 years ago
parent 8988db6297
commit a7f5d08910
  1. 5
      index.php

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

Loading…
Cancel
Save