Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Business Calendar Formats

Determine dates in different business calendar formats and evaluate market holidays

Functions

busdate Next or previous business day
busdays Business days for given period
datemnth Date of day in future or past month
datewrkdy Date of future or past workday
days360 Days between dates based on 360-day year
days360e Days between dates based on 360-day year (European)
days360isda Days between dates based on 360-day year (International Swap Dealer Association (ISDA) compliant)
days360psa Days between dates based on 360-day year (Public Securities Association (PSA) compliant)
days365 Days between dates based on 365-day year
daysact Actual number of days between dates
daysadd Date away from starting date for any day-count basis
daysdif Days between dates for any for any day-count basis
fbusdate First business date of month
isbusday True for dates that are business days
lbusdate Last business date of month
quarter Returns the quarter of given date
thirdwednesday Find third Wednesday of month
wrkdydif Number of working days between dates
yearfrac Fraction of year between dates
createholidays Create trading calendars
holidays Holidays and nontrading days
nyseclosures New York Stock Exchange closures from 1885 to 2050

Examples and How To

Handle and Convert Dates

Handling and converting date character vectors, serial date numbers, and cash-flow dates.

Concepts

Trading Calendars User Interface

Using the Trading Calendars user interface to manage holidays.

UICalendar User Interface

Using uicalendar to manage dates.

Was this topic helpful?