$astime(oo) doesn't return the ordinal and $gmt doesn't offset by -1 for daylight savings time.
-donald porter
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.
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
I have the same problem. It has to do with WinXP, right? And how WinXP does time.
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
Design I believe. Just a different way of looking at it.
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?
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.
I wonder if Khaled is going to have this fixed/'patched up' in the next version.