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.
In reply to Re^3: DateCalc using Date::Manip
by Corion
in thread DateCalc using Date::Manip
by tsdesai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |