Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: localtime hour count

by ady (Deacon)
on Apr 08, 2006 at 14:16 UTC ( [id://542044]=note: print w/replies, xml ) Need Help??


in reply to Re: localtime hour count
in thread localtime hour count

yep, I'm i GMT+1, so i'll buy your explanation here
Tnx! -- allan
update:
my ($h,$m,$s) = (gmtime($t2-$t1))[2,1,0];
will DWIM -- allan

Replies are listed 'Best First'.
Re^3: localtime hour count
by nothingmuch (Priest) on Apr 09, 2006 at 10:18 UTC
    This is still confusing durations with dates. See my post below.

    If the epoch was at 00:03:35 instead of 00:00:00 (and it might be on some scary operating system that someone just happenned to port perl to ;-) then your time delta would be much harder to explain =)

    -nuffin
    zz zZ Z Z #!perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://542044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found