Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert string to localdatetime

//convert String to LocalDateTime
String str = "2016-03-04 11:30";
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm");
LocalDateTime dateTime = LocalDateTime.parse(str, formatter);
Source by www.java67.com #
 
PREVIOUS NEXT
Tagged: #convert #string #localdatetime
ADD COMMENT
Topic
Name
6+5 =