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

To add to my previous reply regarding the correct output as on the old server with old version of Datemanip is +0:0:+21:5:1:0:0 With the new server and new version of Date Manip(6.14) The output which i get is below the code that i use on the new server is
my $s1="2016040100:00:00"; my $e1="2016123100:00:00"; $dbyx1 =(DateCalc($s1, $e1)); $dbyx1 = Delta_Format($dbyx1,'0','+%yv:%Mv:+%wv:%dv:%hv:%mv:%sv'); print "\ndbyx1 = $dbyx1\n";
Output +0:0:+0:0:3648:0:0 I hope i am being clear. Many Thanks, T

Replies are listed 'Best First'.
Re^5: DateCalc using Date::Manip
by LanX (Saint) on Jan 10, 2017 at 12:48 UTC
    You were using different code (this includes Delta_Format ) AND time stamps ( 04 vs 08 ) on different servers without telling us.

    The output you are showing now is also different from the original post. 3648 vs 6576

    And you have no clue what the output you are requesting means (keyword "weeks")

    In total: You are wasting our time because you are to lazy or to ignorant to ask a proper question.

    Sorry, I'm afraid I can't help you ...

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

    Update

    3648h/24 are 152 days now but the code doesn't calculate the diff between 5 month anymore... oO

    A reply falls below the community's threshold of quality. You may see it by logging in.