
-----------------------------------
Martin
Thu Oct 20, 2005 10:16 pm

java.util.Date
-----------------------------------
Can someone please explain to me how to properly create a Date object?

Date date = new Date(105,9,21);

is deprecated.

Thanks.

-----------------------------------
rizzix
Thu Oct 20, 2005 10:52 pm


-----------------------------------
GregorianCalendar cal = new GregorianCalendar(year + 1900, month, date);
(as stated in the docs)
