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.
In reply to Re: Strange result of localtime()
by muntfish
in thread Strange result of localtime()
by nite_man
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |