I believe the final $delta value should be 4 (days) but it is 0. Does anyone know why this is happening and how I can rectify this? Thanks monks.$expected_date = '2016-11-05 14:00'; $actual_date = '2016-11-09 14:00'; my $delta = DateCalc($expected_date,$actual_date); #print $delta = 0:0:0:0:96:0:0 $delta = Delta_Format($delta,0,"%dh"); #print $delta = 0
In reply to Date Manip Delta_Format by epoch1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |