fbusdate
First business date of month
Description
returns
the serial date number for the first business date of the given year
and month. Date
= fbusdate(Year
,Month
)
Year
and Month
can
contain multiple values. If one contains multiple values, the other
must contain the same number of values or a single value that applies
to all. For example, ifYear
is a 1
-by-N
vector
of integers, then Month
must be a 1
-by-N
vector
of integers or a single integer. Date
is then
a 1
-by-N
vector of date numbers.
Use the function datestr
to
convert serial date numbers to formatted date character vectors.
returns
the serial date number for the first business date of the given year
and month using optional input arguments. The optional argument Date
= fbusdate(___,Holiday
,Weekend
,outputType
)Holiday
specifies
nontrading days.
If neither Holiday
nor outputType
are
specified, Date
is returned as a serial date
number. If Holiday
is specified, but not outputType
,
then the type of the holiday variable controls the type of date. If Holiday
is
a serial date number or date character vector, then Date
is
returned as a serial date number.