Business Calendar Formats

Determine dates in different business calendar formats and evaluate market holidays


busdate Next or previous business day
busdays Business days in serial date format
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 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

Was this topic helpful?