http://qs321.pair.com?node_id=1179291


in reply to Re^2: DateCalc using Date::Manip
in thread DateCalc using Date::Manip

I have tried what you said and it gives me +0:0:+0:0:3648:0:0

Replies are listed 'Best First'.
Re^4: DateCalc using Date::Manip
by Krambambuli (Curate) on Jan 10, 2017 at 12:11 UTC
    Try
    my $err; my $dtopt= DateCalc( $dt1 ,$dt2, \$err, 3);
    instead of your original code to do the calculation.