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

Re: Re: Time to seconds

by chipmunk (Parson)
on Nov 16, 2001 at 08:02 UTC ( [id://125757]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::Local;
    my ($hours, $minutes, $seconds) = (1, 2, 3); #insert your regex here
    print timegm($seconds, $minutes, $hours, 1, 0, 70);
    
  2. or download this
    use Time::Local;
    my ($hours, $minutes, $seconds) = (1, 2, 3); #insert your regex here
    print timelocal($seconds, $minutes, $hours, 1, 0, 100)
          - timelocal(0, 0, 0, 1, 0, 100);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-28 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found