Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java Date get today date

SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy");
Date today = new Date();
System.out.println(formatter.format(today));
 
PREVIOUS NEXT
Tagged: #java #Date #today #date
ADD COMMENT
Topic
Name
5+4 =