[Solved] convert String to Util date in “dd-MMM-yyyy” fromat [duplicate]
Conversion To convert a String into a java.util.Date of a specific format, you can use a java.text.DateFormat. DateFormat objects can perform conversions in both directions, from String to Date by calling format() and from Date to String by calling parse(). DateFormat objects can be obtained in multiple ways, here are some: Obtain an instance via … Read more