bmueller Posted August 11, 2010 Share Posted August 11, 2010 Hi there, i need a possibility to get the time zone of the computer's position (not the timezone, which is set in windows). Anyone has an idea how to solve this? Thank you very much in advance. Link to comment Share on other sites More sharing options...
FlyinRiz Posted August 11, 2010 Share Posted August 11, 2010 Hi there,i need a possibility to get the time zone of the computer's position (not the timezone, which is set in windows). Anyone has an idea how to solve this?Thank you very much in advance.You could try reading your location from one of the many free IP Lookup sites (i.e. http://www.ip-adress.com/) and then use a timezone lookup site (i.e. http://www.timeanddate.com/worldclock/search.html) based on the city returned from the first site. Might be a little more complicated than you were wanting to get into. This wouldn't work if you are using a VPN or Proxy connection as it would display the location based on the first public IP address, but should work fine for local connections. Check out the IE AutoIt functions for help on reading webpages if you haven't already. -Aaron Link to comment Share on other sites More sharing options...
Realm Posted August 11, 2010 Share Posted August 11, 2010 There is a User Defined Function called _ComputerGetSystem() in CompInfo.au3 that will poll some systems specs including the time zone it is in My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
FlyinRiz Posted August 11, 2010 Share Posted August 11, 2010 There is a User Defined Function called _ComputerGetSystem() in CompInfo.au3 that will poll some systems specs including the time zone it is in I think the OP was trying to avoid using any timezone var in the computer in case it is set incorrectly. At least that's what I gathered.-Aaron Link to comment Share on other sites More sharing options...
bmueller Posted August 17, 2010 Author Share Posted August 17, 2010 I think the OP was trying to avoid using any timezone var in the computer in case it is set incorrectly. At least that's what I gathered.-AaronCorrect. I will try your idea FlyinRiz. Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now