BusinessDayQ[date]
returns True if the date is a business day and returns False otherwise.
BusinessDayQ
BusinessDayQ[date]
returns True if the date is a business day and returns False otherwise.
Details and Options
-
DateObject[…] date object {y,m,d} year, month, day {y,m} the first day of the specified month {y} January 1 of the year y "string" date as a string ("Jan. 1, 2000") {y,m,d,h,m,s} precise time time absolute time specification - BusinessDayQ takes the following options:
-
CalendarType Automatic calendar in which the date has been specified HolidayCalendar {"UnitedStates","Default"} holiday schedule and subspecification for the business day and holiday computations - In the Jewish calendar, the weekdays are Sunday through Thursday.
Examples
open all close allBasic Examples (3)
Determine if today is a business day:
BusinessDayQ[Today]Determine if July 4 was a business day in Brazil in 2022:
BusinessDayQ[DateObject[{2022, 7, 4}, "Day"], HolidayCalendar -> "Brazil"]July 4 is a holiday in the US:
BusinessDayQ[DateObject[{2022, 7, 4}, "Day"], HolidayCalendar -> "UnitedStates"]Options (4)
CalendarType (2)
Check whether a date is a business day on different calendars:
BusinessDayQ[{2021, 1, 1}, CalendarType -> "Gregorian"]BusinessDayQ[{2021, 1, 1}, CalendarType -> "Jewish"]Business days are determined by the calendar type associated with the date. For example, Friday and Saturday are considered weekend dates on the Jewish calendar:
BusinessDayQ[{2022, 3, 18}, CalendarType -> "Gregorian"]DayName[{2022, 3, 18}]CalendarConvert[DateObject[{2022, 3, 18}], "Jewish"]BusinessDayQ[{5782, 13, 15}, CalendarType -> "Jewish"]HolidayCalendar (2)
Determine if Monday, April 6, 2015, was a business day in Hong Kong:
BusinessDayQ[{2015, 4, 6}, HolidayCalendar -> "HongKong"]Different markets within a country may have different holiday schedules:
HolidayCalendarData["UnitedStates"]BusinessDayQ[DateObject[{2012, 10, 30}], HolidayCalendar -> {"UnitedStates", "NYSE"}]BusinessDayQ[DateObject[{2012, 10, 30}], HolidayCalendar -> {"UnitedStates", "NASDAQ"}]Applications (1)
Properties & Relations (1)
BusinessDayQ is equivalent to DayMatchQ[…,"BusinessDay"]:
BusinessDayQ[Today]DayMatchQ[Today, "BusinessDay"]See Also
Related Guides
Text
Wolfram Research (2012), BusinessDayQ, Wolfram Language function, https://reference.wolfram.com/language/ref/BusinessDayQ.html (updated 2014).
CMS
Wolfram Language. 2012. "BusinessDayQ." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/BusinessDayQ.html.
APA
Wolfram Language. (2012). BusinessDayQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/BusinessDayQ.html
BibTeX
@misc{reference.wolfram_2026_businessdayq, author="Wolfram Research", title="{BusinessDayQ}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/BusinessDayQ.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_businessdayq, organization={Wolfram Research}, title={BusinessDayQ}, year={2014}, url={https://reference.wolfram.com/language/ref/BusinessDayQ.html}, note=[Accessed: 12-June-2026]}