Scilab Function
Last update : 3/11/2005

werktage - No. of working days between two dates

Calling Sequence

anzwerk = werktage(Q0,bdg,kath)

Parameters

Description

This function calculates the number of working days between two dates (in Germany). I am sure, you can extend the code for your countries by editing the scilab function "feiertag".

Examples

// number of working days in 2006 in Germany
// takes a little bit time, sorry.
Q=[1,1,2006;31,12,2006]
aw=werktage(Q);
disp(aw);
// end of werktage demo

See Also

feiertag ,   dday ,  

Authors

Dr. Andreas Geissler geisslea@web.de

Used Function

feiertag