Hi,
Here is a simple perl script that displays the current system time:
==============================================
($seconds, $minutes, $hour, $dayofmonth, $month, $year, $dayofweek, $dayofyear, $dst) = localtime(time);
print $seconds, " Second\n";
print $minutes, " Minute\n";
print $hour, " Hour\n";
print $dayofmonth, " Day of Month\n";
print $month, " Month\n";
print $year, " Year\n";
print $dayofweek, " Day of week\n";
print $dayofyear, " Day of year\n";
print $dst, " DST\n";
==============================================
When executed on a Windows server, it gives the correct "hour" value, but, when executed on another windows server (which is in the same timezone and physical location as the first server), it gives an "hour" value that is ahead by 5 hours.
Windows Admins are sure that the OS setup (as far as time/timezone/etc) is correct. Why would I be seeing this difference? Would this be something Windows related or the Perl related?