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

Re: timestamp manipulation and evaluation

by Kenosis (Priest)
on Aug 18, 2012 at 04:12 UTC ( #988140=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    use Date::Calc qw/ Date_to_Time Time_to_Date /;
    ...
          : sprintf '%4d-%02d-%02d %02d:%02d:%02d for %02d minutes',
          Time_to_Date( $tStart ), ( $tEnd - $tStart ) / 60;
    }
    
  2. or download this
    2012-08-17 12:00:00 for 30 minutes
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2015-07-30 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (271 votes), past polls