From ac755ce8102d45f280868d44e3ce8628285f2310 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:23:36 +0300 Subject: [PATCH] Update 1.js --- JAVASCRIPT/1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JAVASCRIPT/1.js b/JAVASCRIPT/1.js index f81e89a..22d2816 100644 --- a/JAVASCRIPT/1.js +++ b/JAVASCRIPT/1.js @@ -46,7 +46,7 @@ images[currentIndex].classList.add('visible'); async function getCurrentYear() { const now = new Date(); const currentYear = now.getFullYear(); - const currentMonth = now.getMonth() + 1; + const currentMonth = now.getMonth() + 1+1; let age = currentYear - 2006;