JAVA – Format a custom string using SimpleDateFormat [duplicate]

Your pattern must be: new SimpleDateFormat("MMM dd,yyyy");

For more informations about SimpleDateFormat see the javadoc

Leave a Comment