Reply To: What Date Format is this?

#8825
Yuntao Yi
Participant

In JVS… try something like this

try {
String date = “Dec-Thursday-01-2039”;
SimpleDateFormat targetFormat = new SimpleDateFormat(“yyyyMMdd”);
SimpleDateFormat originalFormat = new SimpleDateFormat(“MMM-E-dd-yyyy”);
OCalendar.convertYYYYMMDDToJd(targetFormat.format(originalFormat.parse(date)));
} catch (ParseException e) {
}

Download PDF version

This field is for validation purposes and should be left unchanged.