I have asked web service to return current time in city X. Then it return it as a String. E.g: 2012-11-24 19:30
Then I want to keep it running locally, means I need to update this time at least per minute. Obviously I don’t want user to always make a request to web service to get the real time per minute.
Any good, efficient and effective idea how to implement this?
Thanks
As recommended by @Max using timezone offset is what you really want to do, however to answer your literal question you may try something like:
Now whenever want to get the current remote
Date: