Android : How to convert server time to device default time zone?

on Friday, August 22, 2014


I am posting date to server from my device. My device date time is 2014-08-22 11:11:00 when I insert date and time in to server, but when I get date and time from the server it returns 2014-08-21 23:41:00. So how can I convert server time "2014-08-21 23:41:00" to my device time "2014-08-22 11:11:00"?


Thanks in advance for help.


0 comments:

Post a Comment