Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: days between dates

by choroba (Canon)
on Mar 15, 2013 at 14:45 UTC ( #1023713=note: print w/ replies, xml ) Need Help??


in reply to days between dates

Another CPAN module to give the answer: Date::Manip.

#!/usr/bin/perl use strict; use warnings; use Date::Manip; my $delta = DateCalc(ParseDate('1/1/1904'), ParseDate('3/5/2013')); print 1462 + Delta_Format($delta, 0,'%dt'), "\n";
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: days between dates
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2015-07-05 04:41 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 (60 votes), past polls