mikeqf Posted May 12, 2006 Share Posted May 12, 2006 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 More sharing options...
MHz Posted May 12, 2006 Share Posted May 12, 2006 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 More sharing options...
Developers Jos Posted May 12, 2006 Developers Share Posted May 12, 2006 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 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