I want to get clients Time Zone offset from his IP address for my web app. I have tried using Javascripts getTimezone function, but, some clients have their timezone or time set incorrectly. I want to get the offset and render some information back on client based on their timezone.
Thanks for taking time to read the question. I am open for alternate approaches too.
Regards, Vamyip
If you can call a web service, you might like to try ipinfodb.com. For example:
returns:
A faster option is to use the free MaxMind Geolite city. If it is not good enough, you can apparently upgrade to a more accurate paid-version. I can't speak for the quality of the paid version, as I have never used it. You can download the file binary blob version of the same database, and then use the C# class to query it.
google 'geolocation ip'
There are API's you can call provided by companies. Some are free, some are not.