DayPlus
Details and Options
- Date can be specified in the following forms:
-
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 - DayPlus returns a DateObject.
- Possible day types are:
-
All any calendar date (default) "Weekday" date considered a weekday "Weekend" date considered a weekend "Holiday" holiday according to HolidayCalendar "NonHoliday" date that is not a holiday "BusinessDay" non-holiday weekday "NonBusinessDay" holiday or weekend "WeekdayHoliday" holiday on a weekday "WeekendHoliday" holiday on a weekend "WeekendNonHoliday" non-holiday weekend Monday, Tuesday, … a specific day of the week "EndOfMonth" final day of a given month "BeginningOfMonth" first day of a given month - In the Jewish calendar, the weekdays are Sunday through Thursday.
- DayPlus takes the following options:
-
CalendarType Automatic calendar in which the dates have been specified HolidayCalendar {"UnitedStates","Default"} holiday schedule and subspecification for the business day and holiday computations
Examples
open all close allBasic Examples (4)
Five days from the first of the year:
DayPlus[{2022}, 5]Five days before the first of the year:
DayPlus[{2022}, -5]Five business days from today:
DayPlus[Today, 5, "BusinessDay"]Five Sundays away from the first of March 2022:
DayPlus[{2022, 3}, 5, Sunday]Scope (2)
Options (3)
CalendarType (1)
HolidayCalendar (2)
Compare the dates 250 business days away in different countries:
Table[DayPlus[{2022}, 250, "BusinessDay", HolidayCalendar -> i], {i, {"China", "UnitedStates"}}]Different markets within a country may have different holiday schedules:
Table[DayPlus[{2022, 4}, 30, "BusinessDay", HolidayCalendar -> {"UnitedStates", i}], {i, CalendarData["UnitedStates"]}]Properties & Relations (1)
Business date difference can be computed by using DayCount:
With[{first = Take[DateList[], 2]}, DayCount[first, DatePlus[first, {{1, "Month"}, {-1, "Day"}}], "BusinessDay"]]See Also
Related Guides
Text
Wolfram Research (2012), DayPlus, Wolfram Language function, https://reference.wolfram.com/language/ref/DayPlus.html (updated 2025).
CMS
Wolfram Language. 2012. "DayPlus." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/DayPlus.html.
APA
Wolfram Language. (2012). DayPlus. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DayPlus.html
BibTeX
@misc{reference.wolfram_2026_dayplus, author="Wolfram Research", title="{DayPlus}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/DayPlus.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_dayplus, organization={Wolfram Research}, title={DayPlus}, year={2025}, url={https://reference.wolfram.com/language/ref/DayPlus.html}, note=[Accessed: 12-June-2026]}