is the timezone checkbox checked or has someone manually changed the time on the machine?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
If windows has the correct time, and localtime does not, you need to check your perl script and see where the time is getting changed. Perl just uses the system clock (as far as I know) so localtime should agree with the system clock.
It almost sounds like a daylight savings time problem but I am not sure why it would be a problem.
I know we have had problems when the TZ was set to somewhere that you wouldn't think supported DST (normal GMT London for example) but the "automatically adjust for DST" button was checked. The machine/file times where correct but all the applications kept getting the wrong time (so every timestamp the applications wrote out was wrong). They were taking GMT and then compensating for the DST check box. We have since changed all the windows servers to GMT Monrovia which doesn't even supply the DST check box
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.