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
Use:
System.out.println("Current date in Date Format: " + sdf.format(date));