Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Convert time into seconds

by blue_cowdawg (Monsignor)
on Apr 23, 2013 at 14:29 UTC ( #1030158=note: print w/ replies, xml ) Need Help??

in reply to Convert time into seconds

      Hi, I am new to Perl. I've got a task to convert a given time (e.g, 6 minutes 30 secs or 24 secs 50 millisecs) completely in seconds.

Welcome to the Monastery Lucifer.
The problem with your question is what I refer to as "problem definition." What format is your input being resented as (eg. 00:00:00.000 would be one way).

While you are at it check out Understanding and Using Perl Monks so that you can effectively ask questions that yield useful answers.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg

Comment on Re: Convert time into seconds

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2015-11-25 05:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (670 votes), past polls