mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2009
Posts: 295
P
pball Offline OP
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
Mirc is showing the wrong timezone for me. I tested it on a clean install of 7.06 and it still was wrong.

$asctime(z)

That is showing -4 when my computer is set to -5. Mirc 6.35 returns -5 also

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
$asctime(z) was changed in 7.05 to take account of your DST offset so that the value it returns is your current offset from GMT (and so is applicable to the times that identifier returns).

Joined: Nov 2009
Posts: 295
P
pball Offline OP
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
So what is the DST offest? I'm confused really, it doesn't show what it used to how can that be right?

Joined: Dec 2002
Posts: 3,015
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,015
Originally Posted By: pball
So what is the DST offest?

http://en.wikipedia.org/wiki/Daylight_saving_time

If the output of $asctime(z) has changed then it is because you are in a part of the world that observes DST and advances its clocks during the summer months. As GMT remains the same all year round your offset from GMT will be different during this period.

Quote:
I'm confused really, it doesn't show what it used to how can that be right?

If it was wrong before.

Joined: Nov 2009
Posts: 295
P
pball Offline OP
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
I think i get it now. Summer it'll be -4 and winter will be -5 because of daylight saving time.

(They really need to kill that shit off)


Link Copied to Clipboard