zatlas1 has asked for the wisdom of the Perl Monks concerning the following question:

I am looking for the exact definition of DateCalc and Delta_Format functions in Date::Manip and I seem not to be able to find those definitions. Could somebody please point me to those definitions. Thank you ZA
  • Comment on Exact definition of DateCalc and Delta_Format functions

Replies are listed 'Best First'.
Re: Exact definition of DateCalc and Delta_Format functions
by choroba (Cardinal) on Mar 18, 2024 at 20:54 UTC
      I would encourage you to use the far more powerful OO interface in Date::Manip rather than the older functional interface.

      Instead of using DateCalc, use the calc method (and see here for the full description of date calculations.

      Instead of using Delta_Format, use the printf method (and see here for a full description of delta formatting).

      Of course, if you already have a script that uses the functional interface, it may not be worth the effort to change it.