The date format sent by your backend follows ISO-8601 instant format. You can use LocalDate.parse(targetDate, DateTimeFormatter.ISO_INSTANT) to parse it.