I get a string from a mssql database representing a date like this
Feb 18 2015 12:00:00:000AM
No i tried to convert this into LocalDateTime Object wit h no luck by using
private static final DateTimeFormatter ZEITSTEMPEL_FORMAT = DateTimeFormatter.ofPattern("MMM dd yyyy HH:mm:ss:SSSa");
LocalDateTime d = LocalDateTime.parse(getBENOETIGT_ZUM(),ZEITSTEMPEL_FORMAT);
Caused by: java.time.format.DateTimeParseException: Text 'Feb 18 2015 12:00:00:000AM' could not be parsed: Conflict found: Field AmPmOfDay 1 differs from AmPmOfDay 0 derived from 12:00
What am i missing? Thx in advance Inge