Jump to content

Get timezone from position


Recommended Posts

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

There is a User Defined Function called _ComputerGetSystem() in CompInfo.au3 that will poll some systems specs including the time zone it is in :blink:

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...