Код: Выделить всё
Instant.parse( "2017-05-21T20:37:08.021-05:00" ).toEpochMilli()
Код: Выделить всё
java.time.format.DateTimeParseException: Text '2017-05-21T20:37:08.021-05:00' could not be parsed at index 23Подробнее здесь: https://stackoverflow.com/questions/514 ... -to-epochm