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

Re: Getting seconds from date

by Not_a_Number (Parson)
on Jun 05, 2011 at 16:55 UTC ( #908196=note: print w/replies, xml ) Need Help??


in reply to Getting seconds from date

...and just to show you how easy it can be using a module (and the time() function):

use Date::Parse; print time - str2time( "2011-06-05 11:00:00" );

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://908196]
help
Chatterbox?
[shmem]: *awful
[choroba]: panem et circenses
[karlgoethebier]: shmem: Yes. I didn't go to the firefighters party just 500 yards from my home this year...
[karlgoethebier]: choroba:
[karlgoethebier]: oops!

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-05-25 12:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?