convert html datetime-local to java LocalDateTime

51

convert html datetime-local to java LocalDateTime -

DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm");
Date date = (Date)formatter.parse(sightingDateString);

Comments

Submit
0 Comments