did you try
my $dtopt= DateCalc($dt1,$dt2,1);
output is
0:4:4:2:0:0:0
or maybe these will work
my $dtopt= DateCalc($dt1,$dt2,'semi');
0:4:4:2:0:0:0
my $dtopt= DateCalc($dt1,$dt2,'approx');
0:4:4:2:0:0:0
I am looking for the output as
+0:0:+21:5:1:0:0
I am really sorry this is not my code.I am trying the fix old code after the version updates.
Many Thanks,