[ABE.pm] business day calculations

Ricardo SIGNES rjbs-perl-abe at lists.manxome.org
Thu Oct 21 14:41:46 CDT 2004


* 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.  Surely there is something for
this on the CPAN.  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.

-- 
rjbs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.pm.org/archives/abe-pm/attachments/20041021/08835457/attachment.bin


More information about the ABE-pm mailing list