Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get time in dd/mm/yyyy format in java

//use full
Date date = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
String format = formatter.format(date);
System.out.println(format);
 
PREVIOUS NEXT
Tagged: #time #format #java
ADD COMMENT
Topic
Name
1+9 =