MATLAB Answers

How to check if 'double' type dates are a business day?

2 views (last 30 days)
Juniper Sohn
Juniper Sohn on 30 Jul 2019
Answered: Walter Roberson on 30 Jul 2019
Hi, I have a sequence of dates that are in double type -- looks like this: 737765.
What is a function that I can use for this double type date to tell whether it is a business day or not?
If it is not a business day, is there a function that gives me the closest business day?
Thank you!

  0 Comments

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 30 Jul 2019
https://www.mathworks.com/help/finance/isbusday.html
https://www.mathworks.com/help/finance/busdate.html

  0 Comments

Sign in to comment.

Sign in to answer this question.


Translated by