Date and timezone using j2me

Posted by joynes on Stack Overflow See other posts from Stack Overflow or by joynes
Published on 2009-12-23T13:36:35Z Indexed on 2010/03/20 8:01 UTC
Read the original article Hit count: 388

Filed under:
|
|

Hi everyone!

I have a date string as input from an rss like: Wed, 23 Dec 2009 13:30:14 GMT

I want to fetch only the time-part, but it should be correct according to the my timezone. Ie, in Sweden the output should be: 14:30:14

What is the best way? I want it to work with other RSS date formats as well if possible. Im using regexp right now but that is not very general.

Im having a hard time finding any library or support for dates and timezones in j2me?

/Br Johannes

© Stack Overflow or respective owner

Related posts about j2me

Related posts about date