diff --git a/index.php b/index.php index 45f5959..bc3b5cb 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,10 @@ //Mechanisms here // Testing -echo DateTime(); +$now = new DateTime(); +$zero = new DateTime('0001-01-01'); +$diff = $now->diff($zero); +echo $diff->format('%a days'); // days since day zero ?> Placeholder.