Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

convert html datetime-local to java LocalDateTime

DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd'T'hh:mm");
Date date = (Date)formatter.parse(sightingDateString);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #html #java #LocalDateTime
ADD COMMENT
Topic
Name
5+8 =