in reply to Re: why are timegm and timelocal returning the same epoch seconds values
in thread why are timegm and timelocal returning the same epoch seconds values
1. Try extract this subroutine from you script and run it outside of your script.
2. Is your TZ variable set?
3. Try run with env TZ=US/Pacific
4. Try run system tools (like 'date) which report time to make sure they recognize timezone correctly
|
|---|