SyntaxFix
Write A Post
Hire A Developer
Questions
Use:
String timeStamp = new SimpleDateFormat("yyyyMMdd_HHmmss").format(Calendar.getInstance().getTime()); System.out.println(timeStamp );
(It's working.)