Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

date to timestamp java

All you need to do is change the string within the java.text.SimpleDateFormat constructor to: "MM-dd-yyyy HH:mm:ss".

Just use the appropriate letters to build the above string to match your input date.
 
PREVIOUS NEXT
Tagged: #date #timestamp #java
ADD COMMENT
Topic
Name
4+1 =