Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: DateCalc using Date::Manip

by 1nickt (Canon)
on Jan 10, 2017 at 13:00 UTC ( [id://1179303]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -Mwarnings -Mstrict -ML -E'
    my $parser = DateTime::Format::Strptime->new(pattern => "%Y%m%d%H:%M:%
    +S", on_error => "croak");
    ...
    my $dt2 = $parser->parse_datetime("2016123100:00:00");
    say $dt2->delta_days( $dt1 )->in_units("days");
    '
    
  2. or download this
    152
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-16 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found