Browse Source

currentDay()

- It now returns the array of the actual numbers instead of the default
formatting
master
BinHong Lee 8 years ago
parent
commit
e53d8b0423
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Main.java

+ 2
- 2
Main.java View File

@@ -107,8 +107,8 @@ class Main
{ {
int[] currentDay = new int[3]; 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(); currentDay[2] = date.getDate();


return currentDay; return currentDay;


Loading…
Cancel
Save