Hi I am not able to understand what time format we need to use in order to parse this date2020-02-11T17:26:31-05:00
I have tried using Date formatter and simple date format but its not working
Date is coming in this form ->2020-02-11T17:26:31-05:00 I am not able to identify the type of this date
Below is snippet of code i have tried but its throwing exception
DateTimeFormatter responseFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss-SSSXXX'Z'",
Locale.ENGLISH);
responseDateTime = LocalDateTime.parse(otmmResponseDate, responseFormatter);