SyntaxFix
Write A Post
Hire A Developer
Questions
See code example below:
SimpleDateFormat df = new SimpleDateFormat("hh:mm"); String formattedDate = df.format(new Date()); out.println(formattedDate);