in reply to Re: problem with 'strftime' on unix systemsin thread problem with 'strftime' on unix systems
Probably to change the timezone at a guess.
But the epoch isn't effected by timezone. It's the number of seconds since 00:00 on 1st Jan 1970 GMT. I can't see how you'll ever get different answers from:
print strftime '%s', localtime;
Am I missing something?
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
No I don't think you are missing something, it was just the only semi-plausible reason that I could think of that someone might think they want to do that.
Results (281 votes). Check out past polls.