I am doing some work which scenario is , I am receiving date and time from server as a data field. i.e 2016-12-20T16:22:00+05:00. I have an spinner in which
*
- (+12:00 to -12:00) values by each hour
* Now, i need to transform this date & time with respect to spinner value. i.e if spinner has selected +12:00 then it will like this 2016-12-21T04:22:00+12:00. Please suggest solutions. Thank you :)
Try using Java String Functions like below