I want to format a date such as 2002-01-02T09:30:47-05:00 using the java.text.SimpleDateFormat class.
The closest I have come to this format is using this pattern:
This results in: 2007-10-12T11:01:26+0200
Carefully note the +0200 part, I need to have a colon between the hours and minutes. That is +02:00.
My desired result after formatting should then be: 2007-10-12T11:01:26+02:00
How can I modify this pattern?