Jump to content
Sign in to follow this  
mikeqf

@hour Constant

Recommended Posts

mikeqf

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.

Share this post


Link to post
Share on other sites
MHz

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.

Share this post


Link to post
Share on other sites
Jos

these functions are used:

time() to retrieve the current time

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.