Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get current date in java

long millis=System.currentTimeMillis();  
java.sql.Date date=new java.sql.Date(millis);  
System.out.println(date);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #current #date #java
ADD COMMENT
Topic
Name
4+7 =