bjg
asked on
Displaying the year for a Date object...
I am trying to figure out how to display the year in normal format when calling Date.getYear(). For example, the year 1998 is represented as 98 when I call Date.getYear(), but how can I get 1998 instead?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, I ended up using Calendar instead, since most of the Date methods are deprecated in favor of Calendar now.
ASKER