I\'m trying to format date from java.util.Date. I need this format:
2016-06-10T13:38:13.687+02:00.
2016-06-10T13:38:13.687+02:00
How correctly convert this from standard Da
You have add (ZZZZZ) at the end to get this format like below
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss ZZZZZ", Locale.getDefault());