DayRange
DayRange[date1, date2] gives the dates in the range from date1 to date2.
DayRange[date1, date2, daytype] gives the dates in the range from date1 to date2 that are of the specified daytype.
Examples
Get all days in January:
DayRange[{2024, 1, 1}, {2024, 1, 31}]Get only business days:
DayRange[{2024, 1, 1}, {2024, 1, 31}, "BusinessDay"]Please visit the official Wolfram Language Reference for more details.