I am having a date string 2012-11-21 13:11:25
which I get from local database. I have to convert this according to UTC
settings and display it on a particular screen. So if its GMT+05:30
it should be displayed as 2012-11-21 18:41:25
on the screen. How can I do this conversion. I have checked some of the questions but that didn't work out.
I am able to get a Date object that returns something like Wed Nov 21 13:11:25 GMT+05:30 2012
after this I need to get the time as 18:41:25
and date as 11-21-2012
Thanks in advance