in reply to Business

the Date::Manip documentation says Date_PrevWorkDay skips also holidays...

Replies are listed 'Best First'.
RE: Re: Business
by $code or die (Deacon) on Nov 06, 2000 at 19:55 UTC
    Actually, it doesn't support holidays as standard. The documentation says:

    If $mode is 2, a business mode is used. That is, the calculation is done using business days, ignoring holidays, weekends, etc. In order to correctly use this mode, a config file must exist which contains the section defining holidays. The config file can also define the work week and the hours of the work day, so it is possible to have different config files for different businesses.