For me this code works. Why do you think your system's timezone is not GMT+0 ?
Since the code is incomplete ( Undefined subroutine &main::timelocal called ) how is it possible that this code works for you?
In reply to Re^2: why are timegm and timelocal returning the same epoch seconds values
by Anonymous Monk
in thread why are timegm and timelocal returning the same epoch seconds values
by kehansen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |