@rolliedub
SimpleDateFormat data = new SimpleDateFormat("dd-MMMM,yyyy");
String eventDate = "Jan 25, 2023, 2:35:00 PM";
Date date = new Date(eventDate);
String convert = data.format(date);
System.out.println("Date Format with dd MMMM yyyy : "+date);
output: 25-January, 2023.