wunderground.com API GMT offset
Hi, I'm building a bot and trying to implement a weather feature using the API from wunderground.com. I'm able to parse all the data I need successfully from the XML files, my problem is I'm trying to display the time like they're doing on the website, here's an example: 2:04 AM BST on July 12, 2011 (GMT +0100).
I'm using the local time values from the WXCurrentObXML:
<local_time>July 14, 10:01 AM PDT</local_time>
<local_time_rfc822>Tue, 14 July 2009 17:01:17 GMT</local_time_rfc822>
I've been able to calculate the GMT offset in hours between the 2 dates/times using SimpleDateFormat ect, but I would like to display it like (GMT +0100). Does anyone know how I might go about it?