I am using following code to get date in \"dd/MM/yyyy HH:mm:ss.SS\" format.
import java.text.SimpleDateFormat; import java.util.Calendar; import
SimpleDateFormat
sdf=new SimpleDateFormat("dd/MM/YYYY hh:mm:ss"); String dateString=sdf.format(date);
It will give the output 28/09/2013 09:57:19 as you expected.
28/09/2013 09:57:19
For complete program click here