SimpleDateFormat returns wrong time zone during parse

tl;dr i need to make a Date Object from String input but the time zone should remain UTC. LocalDate.parse( “23.01.2017” , DateTimeFormatter.ofPattern( “dd.MM.uuuu” ) ) …and… LocalTime.parse( “12:34:56” ) …combine… OffsetDateTime.of( datePart , timePart , ZoneOffset.UTC ) Details You are using troublesome confusing old date-time classes that are now supplanted by the java.time classes. OffsetDateTime … Read more