I was writing a small script to get the time from a timeserver when I noticed that it returned an hour less than it should, then I found that $calc( $ctime - $gmt ) = 3600 instead of 7200. I'm in GMT+1 timezone, and 'summer time' (daylight savings time) is active so it's actually GMT+2, but $gmt returns $ctime-3600 instead of the correct GMT time.
mIRC version: 6.16
Windows version: Windows XP with SP1
EDIT: I did a small test and windows functions GetLocalTime and GetSystemTime both return the correct time values (GMT+2 Local, and GMT+0 System)
Last edited by GiGaHeRz; 27/07/05 12:08 AM.