From 4e82bd203a0e6d42d199d3e53c7f3131d113e175 Mon Sep 17 00:00:00 2001 From: Akex Date: Thu, 4 Apr 2024 15:33:59 +0500 Subject: [PATCH] first attpept --- app/index.php | 5 +++++ app/repository/CountFriday13.php | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 app/repository/CountFriday13.php diff --git a/app/index.php b/app/index.php index e69de29..0f1ea93 100644 --- a/app/index.php +++ b/app/index.php @@ -0,0 +1,5 @@ +setDate($year, $i, 13); + + if ($next13->format("D") == 'Fri'){ + $AllFri13[] = $next13; + } + } + return $AllFri13; +} -- GitLab