java - How can I parse UTC date/time (String) into something more readable? -


i have string of date , time this: 2011-04-15t20:08:18z. don't know date/time formats, think, , correct me if i'm wrong, that's utc format.

my question: what's easiest way parse more normal format, in java?

what have iso-8601 date format means can use simpledateformat

dateformat m_iso8601local = new simpledateformat("yyyy-mm-dd't'hh:mm:ss'z'"); 

and can use simpledateformat.parse(). also, here blog post examples might help.

update:

read comments below before using solution.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -