MATLAB Answers

Ajpaezm
0

Getting a list of business days ignoring holidays regardless of timezone/country.

Ajpaezm
さんによって質問されました 2018 年 1 月 4 日
最新アクティビティ Ajpaezm
さんによって 編集されました 2018 年 1 月 4 日
Hello,
I'd like to make an array of dates containing business days regardless of the holidays (if there's any within that range).
The list I can make it like this:
start='12/11/2017';
finish='12/15/2017';
formatOut = 'mm/dd/yy';
date_vector=string(datestr(busdays(start,finish),formatOut));
Reading the docs, I looked at 'holvec' input for the busdays function. I'm not sure how to configure it in order to get any business day regarding the timezone (I'll be working with data from different places and a holiday in one hardly will be a holiday in another).
Should I configure 'holvec' in the busdays function? Or with the current settings I have, I don't have to care about holidays at all?
Thanks in advance.

  0 件のコメント

サインイン to comment.

タグ

0 件の回答


Translated by