in reply to Re: DateTime usage for duration computation
in thread DateTime usage for duration computation
I think that your $delta, since it's a duration object, needs to be dereferenced into seconds to make this work.
my $days = int($delta->seconds / 86400);Right?
|
|---|