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