The One
03-04-2006, 05:49 AM
i got the following code:
Date toDay = new Date();
int year = toDay.getYear();
System.out.println (year);
it doesnt work. it says the year is 106.
How do i get 2006???
HELP?
Date toDay = new Date();
int year = toDay.getYear();
System.out.println (year);
it doesnt work. it says the year is 106.
How do i get 2006???
HELP?