From e53d8b0423cab51ae2b3eff8a9a2524d6738505c Mon Sep 17 00:00:00 2001 From: BinHong Lee Date: Sat, 11 Jun 2016 14:44:52 -0700 Subject: [PATCH] currentDay() - It now returns the array of the actual numbers instead of the default formatting --- Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Main.java b/Main.java index edccc4a..de48bc1 100644 --- a/Main.java +++ b/Main.java @@ -107,8 +107,8 @@ class Main { int[] currentDay = new int[3]; - currentDay[0] = date.getYear(); - currentDay[1] = date.getMonth(); + currentDay[0] = date.getYear() + 1900; + currentDay[1] = date.getMonth() + 1; currentDay[2] = date.getDate(); return currentDay;