| Financial Toolbox | Search  Help Desk |
| isbusday | Examples See Also |
True for dates that are business days.
Syntax
t = isbusday(d, hol) t = isbusday(d)
Arguments
dd can contain multiple dates, but they must all be in the same format.holhol must be the same format: either serial date numbers or date strings. (Using date numbers improves performance.) The holidays function supplies the default vector.Description
t = isbusday(d, hol)
returns logical true (1) if d is a business day and logical false (0) otherwise.
Examples
t = isbusday('15 jun 1997')
t =
0
d = ['15 feb 98'; '16 feb 98'; '17 feb 98'];
t = isbusday(d)
t =
0
0
1
See Also
busdate, fbusdate, holidays, lbusdate