in reply to Re: DateCalc using Date::Manip
in thread DateCalc using Date::Manip
Try
print Delta_Format($dtopt,0,'+%yv:%Mv:+%wv:%dv:%hv:%mv:%sv');
instead of your print line.
It's probably not the newer Perl that bites you, but rather the newer Date::Manip module that you are using.
Try to check what you have in Date::Manip::DM6.
A bit strange; the raw value that I see for the delta calculated from the date values you provided is 0:0:0:110:0:0:0, which isn't equal with what your systems are giving.
print Delta_Format($dtopt,0,'+%yv:%Mv:+%wv:%dv:%hv:%mv:%sv');
instead of your print line.
It's probably not the newer Perl that bites you, but rather the newer Date::Manip module that you are using.
Try to check what you have in Date::Manip::DM6.
A bit strange; the raw value that I see for the delta calculated from the date values you provided is 0:0:0:110:0:0:0, which isn't equal with what your systems are giving.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: DateCalc using Date::Manip
by tsdesai (Acolyte) on Jan 10, 2017 at 12:05 UTC | |
by Krambambuli (Curate) on Jan 10, 2017 at 12:11 UTC | |
Re^3: DateCalc using Date::Manip
by tsdesai (Acolyte) on Jan 10, 2017 at 12:45 UTC |
In Section
Seekers of Perl Wisdom