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

ok one more to try

print Delta_Format($dtopt,'semi','+%yv:%Mv:+%wv:%dv:%hv:%mv:%sv');
based on the code from Krambambuli above but using semi

Replies are listed 'Best First'.
Re^6: DateCalc using Date::Manip
by tsdesai (Acolyte) on Jan 10, 2017 at 12:41 UTC
    I do not get any output for that one.

      ok a few more, since "semi and 'approx' gave the same output

      my $dtopt= DateCalc($dt1,$dt2,0);
      my $dtopt= DateCalc($dt1,$dt2,1);
      my $dtopt= DateCalc($dt1,$dt2,2);
      my $dtopt= DateCalc($dt1,$dt2,3);
      note how #4 is like Re^4: DateCalc using Date::Manip and if it works they should get the credit. We have seen exact=0 and approx=1 (or literal?), lets see what 2 or 3 give us. (maybe i should install the module and try it? im going from the docs here)

        Hi I have tried what you suggested
        0:0:0:0:3648:0:0 0:4:4:2:0:0:0 0:4:4:2:0:0:0 0:0:0:110:0:0:0
        But no luck i want to display everything year month weeks days Many Thanks,