Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Add time

by dolavoie (Initiate)
on Feb 09, 2006 at 13:54 UTC ( #529080=perlquestion: print w/replies, xml ) Need Help??

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 14: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 14: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
Node Status?
node history
Node Type: perlquestion [id://529080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2020-06-02 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (19 votes). Check out past polls.

    Notices?