Hi, I am probably missing something obvious but I could not yet figure out how can I get the "number of days" between two DateTime objects. So far the best I managed was
$d1 = DateTime->new(...); $d2 = DateTime->new(...); my $sec = $d2->subtract_datetime_absolute($d1)->seconds; print $sec/60/60/24, "\n"; Is there a nicer way that does not require me to remember how many minutes are in an hour? Gabor
