Java tutorial
import java.time.ZonedDateTime; import java.time.format.DateTimeFormatter; public class Main { public static void main(String[] args) { ZonedDateTime dateTime = ZonedDateTime.parse("2014-09-03T11:38:45.902-07:00[America/Los_Angeles]", DateTimeFormatter.ISO_DATE_TIME); System.out.println(dateTime); } }