I am trying to get timezone of device in XX format like for GMT+0500, label shoud display +05, the patern required for this formating is "X" which I have got from Simple Date Format.
Below is the block of code which I was testing for display of date-time in different formats. First 2 labels display exacltly as intended but the last two return an error message.