Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: problem with 'strftime' on unix systems

by davorg (Chancellor)
on Oct 23, 2006 at 07:16 UTC ( [id://579991]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: problem with 'strftime' on unix systems
in thread problem with 'strftime' on unix systems

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;

and

print time;

Am I missing something?

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Replies are listed 'Best First'.
Re^4: problem with 'strftime' on unix systems
by gellyfish (Monsignor) on Oct 23, 2006 at 07:23 UTC

    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.

    /J\

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://579991]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.