We love social media, but we do not expect you to create yet another public outpost on the Web.
One of hundreds of answers available with our premium content service.
A: To format Date types in Java, you should use a java.text.SimpleDateFormat. This class takes a time pattern string and applies it to the given date like a template. To create a date with slashes, you might use the pattern "dd/MM/YYYY" for instance.
… full answer hidden
Premium members click below for full answer
How do I insert slashes in a date?