posted 20 years ago
How to get the date in UTC format "yyyy-MM-dd'T'hh.mm.ss 'Z'"?
I know this would work with Calender, DateFormat and Date classes.
The format above prints out the date in 2001-04-04T10.46.23EDT.
But instead of Z I want -05:00 to be printed out.
Please anyone let me know how to get that output.
Thanks