Lizeth
Posts: 5
Nickname: liz
Registered: Mar, 2002
|
|
how get todays Date with format in Date Object
|
Posted: Mar 6, 2002 1:11 PM
|
|
Hi, I need help! I need to insert a the Database todays Date in the format "MM-dd-yyyy". The datatype in the dataBase is Date, then I need a Date Object with the correct format.
I already tried with SimpleDateFormat, the problem is the method Format always return a String, then from the String how I can convert to Date with the same format.
Please help me! Thanks in advance. Lizeth
|
|