date - mismatch between working days and business days in matlab -


i calculating number of working days between 2 dates

date_1=733943;

date_2=734152;

wrk_dy_dif=wrkdydif(date_1,date_2)

wrk_dy_dif =

150

i tried build days vector based previous dates , expect 150x1 vector got 145x1 vector

bus_days=busdays(date_1,date_2);

size(bus_days)

ans =

145 1

does know why , how can fix ? thx in advance kind help

according docs, busdays assume usa public holidays unless tell not to. wrkdydif not. there nothing fix, pick 1 relevant , don't use both.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -