UPDATE 2
I've found these but they rely on lat long. Is there any service which can give me result using time zone only as a parameter.
http://www.geonames.org/export/web-services.html#timezone
UPDATE 1
I am not using any server. The data is stored in SQLite.
I am creating a health app for Windows Phone 8. In which, user should be allowed to enter certain data on daily basis. So once user has added data for today's date then he/she can enter data on next day only. First I thought to save the last valid date in isolated storage and compare it to current date. If the difference is greater than 24 hours, user should be allowed to enter the data.
Now the problem is if user change the date from his/her phone, DateTime.Now
value changes and hence the logic goes wrong. So what should I do to compare the date?