Financial Toolbox
  Go to function:
    Search    Help Desk 
busdate    Examples   See Also

Next or previous business day.

Syntax

Arguments

d
Reference date. Enter as serial date number or date string.
direc
Direction. 1 = next (default) or -1 = previous business day.
hol
Vector of holidays and non-trading-day dates. All dates in hol 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

bd = busdate(d, direc, hol) returns the serial date number bd of the next or previous business day from the reference date.

Use the function datestr to convert serial date numbers to formatted date strings.

Example

See Also

holidays, isbusday



[ Previous | Help Desk | Next ]