How to get clients timezone offset from his ip address
-
Tuesday, May 04, 2010 7:05 AM
Hello,
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.
Growl
All Replies
-
Tuesday, May 04, 2010 7:19 AM
Check the below link at codeproject:
http://www.codeproject.com/KB/cs/KBSoftIPLocator.aspx
www.midnightprogramer.net- Proposed As Answer by Chao KuoModerator Thursday, May 06, 2010 10:32 AM
-
Tuesday, May 04, 2010 7:28 AM
Hi,
In following method, you can easily find out the time zone,
1.First find the Location of the IP address
2.Find Time zone offset.
Please refer the below link, may be useful,
http://www.dotnetcurry.com/ShowArticle.aspx?ID=325&AspxAutoDetectCookieSupport=1
Regards,
S.Subashselvan.
- Proposed As Answer by Chao KuoModerator Thursday, May 06, 2010 10:32 AM
-
Tuesday, May 04, 2010 11:26 AM
Hi.
An open source IP to Country can be found here:
http://ip-to-country.webhosting.info/book/print/5
Noam B
_________________________________________________________
Do not Forget to Vote as Answer/Helpful, please. It encourages us to help you...