mIRC Homepage
Posted By: cution $gmt and $asctime bug - 18/05/03 06:20 AM
$astime(oo) doesn't return the ordinal and $gmt doesn't offset by -1 for daylight savings time.

-donald porter
Posted By: codemastr Re: $gmt and $asctime bug - 18/05/03 06:28 AM
it does return the ordinal, but it only does it when it follows a value that has an ordinal. $asctime(ddoo), $asctime(hhoo), etc.

Oh and for $gmt with DST, if I remember correctly, GMT is not effected by DST.
Posted By: Nobodi Re: $gmt and $asctime bug - 18/05/03 06:58 AM
Quote:

Oh and for $gmt with DST, if I remember correctly, GMT is not effected by DST.


$gmt doesn't return the true GMT when $daylight returns a value other than 0
Posted By: Doomstars Re: $gmt and $asctime bug - 19/05/03 01:50 AM
I have the same problem. It has to do with WinXP, right? And how WinXP does time.
Posted By: Nobodi Re: $gmt and $asctime bug - 19/05/03 07:14 AM
Win98SE here.
Posted By: Raccoon Re: $gmt and $asctime bug - 20/05/03 11:21 PM
I'd like to add, slightly relating to the topic at hand, that $timezone seems to have reversed polls. I live in -6:00 Central Time, yet $timezone returns the positive value 21600, which is +6:00 (somewhere in Eastern Asia)

One would figure that $gmt + $timezone == $ctime
instead, $gmt - $timezone == $ctime which isn't what they taught us in school.
$asctime(zz) returns the correct value.

Is this by design or a bug?

- Raccoon
Posted By: Doomstars Re: $gmt and $asctime bug - 21/05/03 12:15 PM
Design I believe. Just a different way of looking at it.
Posted By: insaniti Re: $gmt and $asctime bug - 26/06/03 12:33 PM
I've noticed my 'channel topic set' time is 1 hour out until/if I turn off auto daylight savings in XP. Is this the same issue, or should I post a seperate topic?
Posted By: Raccoon Re: $gmt and $asctime bug - 27/06/03 03:54 AM
Hmm, interesting. It might be. I'm not sure how mIRC determines if your timezone is a participant of daylight savings, or not... or exactly when your daylight savings begins and ends.
Posted By: Doomstars Re: $gmt and $asctime bug - 27/08/03 11:13 PM
I wonder if Khaled is going to have this fixed/'patched up' in the next version.
© mIRC Discussion Forums