Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
go ahead... be a heretic
 
PerlMonks  

Add time

by dolavoie (Initiate)
on Feb 09, 2006 at 08:54 UTC ( [id://529080]=perlquestion: 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.

dolavoie has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

How would I add the following minutes and seconds ?

01:45 20:00 13:09
I am not sure how to do this.

Thanks

Content restored by Arunbear, using RSS feed.

Replies are listed 'Best First'.
Re: Add time
by l.frankline (Hermit) on Feb 09, 2006 at 09:06 UTC

    Hi,

    I am not sure what is your intention, If my guess is correct then refer to Time.

    Cheers,
    Franklin.

    Don't put off till tomorrow, what you can do today.

re: Add time
by davidrw (Prior) on Feb 09, 2006 at 09:10 UTC
    where'd the original question go ?? It was something like "how do i add the times 12:45 10:00 01:45?" (didn't specifiy if the answer should be 24:30 or 1:00:30)

    Anyways, besides the other reply, the Add_Delta_YMDHMS() function in Date::Calc might be of interest..

    Update: The OP was almost exactly the same as time calculation, which has some good replies already ..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://529080]
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.