diff --git a/index.php b/index.php index bc3b5cb..23e8b73 100644 --- a/index.php +++ b/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.