i got the following code:
it doesnt work. it says the year is 106.Code:Date toDay = new Date(); int year = toDay.getYear(); System.out.println (year);
How do i get 2006???
HELP?
|
|
+ Reply to Thread
Results 1 to 2 of 2
Thread: get year in java
Thread InformationUsers Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
|
Bookmarks