Jump to content

@hour Constant


Recommended Posts

Can anyone tell me exactly where the @HOUR constant gets it's information from? (Certain registry key?) I have one computer on which this constant reports 1 hour off, ie it is 10:20, it shows 9:20 when calling any time and date functions in AutoIt.

The system BIOS clock is correct, and the Windows XP clock is correct. Daylight savings time and the time zone are set just as every other PC in the domain. They are all set to sync with our domain server. For some reason, AutoIt is the only place I'm seeing the incorrect time.

Link to comment
Share on other sites

Bios is the sole time keeper. Windows draws it's time from it, whether set as delayed or forwarded.

You thimk you had probs? Early XP symc. had me owing 22 years of bills from an badly offset internet sync. of time. Since then, I switch off internet sync trusting the bios and the battery that backs it up.

Link to comment
Share on other sites

  • Developers

these functions are used:

time() to retrieve the current time

localtime() to convert to the pc's timezone.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...