mIRC Home    About    Download    Register    News    Help

Print Thread
#24808 18/05/03 06:20 AM
Joined: May 2003
Posts: 1
C
cution Offline OP
Mostly harmless
OP Offline
Mostly harmless
C
Joined: May 2003
Posts: 1
$astime(oo) doesn't return the ordinal and $gmt doesn't offset by -1 for daylight savings time.

-donald porter

#24809 18/05/03 06:28 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
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.

Last edited by codemastr; 18/05/03 06:29 AM.
#24810 18/05/03 06:58 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
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

#24811 19/05/03 01:50 AM
Joined: Dec 2002
Posts: 343
D
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 343
I have the same problem. It has to do with WinXP, right? And how WinXP does time.

#24812 19/05/03 07:14 AM
Joined: Dec 2002
Posts: 191
N
Vogon poet
Offline
Vogon poet
N
Joined: Dec 2002
Posts: 191
Win98SE here.

#24813 20/05/03 11:21 PM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#24814 21/05/03 12:15 PM
Joined: Dec 2002
Posts: 343
D
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 343
Design I believe. Just a different way of looking at it.

#24815 26/06/03 12:33 PM
Joined: Jun 2003
Posts: 5
I
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
I
Joined: Jun 2003
Posts: 5
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?


//insaNity
#24816 27/06/03 03:54 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
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.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#24817 27/08/03 11:13 PM
Joined: Dec 2002
Posts: 343
D
Pan-dimensional mouse
Offline
Pan-dimensional mouse
D
Joined: Dec 2002
Posts: 343
I wonder if Khaled is going to have this fixed/'patched up' in the next version.


Link Copied to Clipboard