Re: Number of working days in given month
On 2009-07-01 02:27, Rob Gom wrote:
do you know any command line tool which would be able to display
number of working days in given month in given country?
I have found gcal, which suits my needs, but is barely maintained
(last release in 2000) and I'm afraid about its possible removal
(currently maintained in Debian by QA group). Besides, its options
syntax is scary and it's not present in other Linux distributions
(thinking about Fedora).
For now I can stick with gcal, just asking for other tools.
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