SyntaxFix
Write A Post
Hire A Developer
Questions
Use:
System.out.println("Current date in Date Format: " + sdf.format(date));