diff --git a/app/index.php b/app/index.php index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4b9c8d2e461742aab5e44ca4af2bc74ae010b847 100644 --- a/app/index.php +++ b/app/index.php @@ -0,0 +1,6 @@ +format('Y')) + 1; + $dateOfNY = new DateTime(); + $dateOfNY->setDate($nextYear, 01, 01); + + $interval = $dateOfNY->diff($date); + + return $interval->format('%a'); + +}