[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Number of working days in given month



[CC to list]


---------- Forwarded message ----------
From: Rob Gom <rgom.debian@gmail.com>
Date: Wed, Jul 1, 2009 at 12:45 PM
Subject: Re: Number of working days in given month
To: Ron Johnson <ron.l.johnson@cox.net>


>
> I'd write a little $SCRIPTING_LANGUAGE program to count the number of
> weekend days in the month, and subtract that from the number of days in the
> month.
>
> To take holidays into account, I'd add an associative array with the year's
> holidays, and use that to further reduce the number of work days.
>
> --
> Scooty Puff, Sr
> The Doom-Bringer

That's fine unless I'd like to take "moving" holidays into account. In
case of my country there are at least two of them - Easter and Holy
Cross. I can implement something on my own, but I'm looking for
something ready.

Regards,
Robert


Reply to: