Try Date::Manip.
use Date::Manip; $dyear = Delta_Format(DateCalc('1925-12-22 00:00UTC', '2012-03-22 00:0 +0UTC'), '%yys'); # $dyear is now 86.249, the difference between the two dates in years
In reply to Re: Difference between two dates in years
by ambrus
in thread Difference between two dates in years
by Doctrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |