MATLAB Answers

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

1 ビュー (過去 30 日間)
Ajpaezm
Ajpaezm 2018 年 1 月 4 日
Edited: 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