Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by gellyfish (Monsignor)
on Oct 23, 2006 at 11:12 UTC ( #579990=note: print w/replies, xml ) Need Help??


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

Probably to change the timezone at a guess.

/J\

  • Comment on Re^2: problem with 'strftime' on unix systems

Replies are listed 'Best First'.
Re^3: problem with 'strftime' on unix systems
by davorg (Chancellor) on Oct 23, 2006 at 11:16 UTC

    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

      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
Node Status?
node history
Node Type: note [id://579990]
help
Chatterbox?
[Your Mother]: I like this one quite well, https://www. youtube.com/watch? v=rSEUH4KRfN8
[choroba]: Půlnoční Marie (which means Midnight Mary)
[choroba]: but the band is practically dead. We rehearse once in a year, and perform with the same frequency
[ambrus]: `quote
[ambrus]: sorry, typed in the wrong box
[LanX]: Your mother: je ne t'aime plus! ;)
[choroba]: seems lispy
[Your Mother]: Be nice! I speak that much French. Though I also like that song.
[choroba]: So, I joined Pod Černý Vrch some months ago to still have the fun. But I wouldn't call it "punk" anymore...
[LanX]: choroba deaf after one rehearsal per year ?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-03-24 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (301 votes). Check out past polls.