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

Note that your output string contains seven fields and colons between its values.

Your $format string contains five placeholders and no colons between them.

If you want identical values, a first step would be to specify the appropriate output format.

Also, I think the %dh format is not a valid format specification for Date::Manip::DM5.