Java SimpleDateFormat Timezone offset with minute separated by colon

You can get the timezone offset formatted like +01:00 with the SimpleDateFormat in Java 7 (yyyy-MM-dd'T'HH:mm:ss.SSSXXX), or with the Joda‘s DateTimeFormat (yyyy-MM-dd'T'HH:mm:ss.SSSZZ).

Leave a Comment