in reply to Strange result of localtime()

According to my calendar, Oct 31 is the end of daylight saving time, a.k.a. summer time. localtime is correcting for this extra hour.

If you use gmtime instead, it won't do that.


s^^unp(;75N=&9I<V@`ack(u,^;s|\(.+\`|"$`$'\"$&\"\)"|ee;/m.+h/&&print$&

Replies are listed 'Best First'.
Re^2: Strange result of localtime()
by nite_man (Deacon) on Sep 30, 2004 at 12:23 UTC

    Yes, you are right, muntfish. I've forgotten about that. Thanks for your replay.

    ---
    Michael Stepanov aka nite_man

    It's only my opinion and it doesn't have pretensions of absoluteness!