[ABE.pm] Re: business day calculations

Faber Fedor faber at linuxnj.com
Thu Oct 21 14:59:36 CDT 2004


On 21/10/04 15:41 -0400, Ricardo SIGNES wrote:
> * Faber Fedor <faber at linuxnj.com> [2004-10-21T15:34:25]
> > How do you guys do business day calculations, i.e. what is the last
> > business day of the month for 2004-02 ('27' if you don't want to look it
> > up)?
> > 
> > The only thing I've come across so far is Bob Orlando's routines
> > (http://www.orlandokuntao.com/mf_holidays.html).  
> > 
> > I find it a little strange his routines aren't in CPAN or that I can't
> > find anything in CPAN to handle this.
> 
> That code makes me want to stab someone.  

On top of that, it calls modules that can't be googled for.  

OTOH, his awk script does work.

> Surely there is something for this on the CPAN.  

That's what I thought, but looking through the module list, nothing
jumped out at me.

> Once search.cpan.org is back up, I'll have a look,
> but I'd wager that there is either a DateTime::* module, or that
> Date::Calc can easily do it.

I'll RTFM on those two...

-- 
 
Regards,
 
Faber                     

Linux New Jersey: Open Source Solutions for New Jersey
http://www.linuxnj.com





More information about the ABE-pm mailing list