posted 17 years ago
Please see the code below
DateFormat startDateFormat = new SimpleDateFormat( "dd-MM-yyyy hh:mm:ss" ) ;
startDate = startDateFormat.parse( startDateNode.getText().trim() ) ;
I have the date object now.
Now I want to extract a string in "dd-MM-yyyy hh:mm:ss" this format from util.date object.
Thanks,
Subhakarthik