Qurak

DayRound

Available

Rounds a date to a day of a given weekday or day-type class

DayRound[date, daytype]
DayRound[date, daytype, rounding]
DayRound[{2022, 2}, "Weekend"] → DateObject[{2022, 2, 5}, Day]DayRound[{2022, 2, 1}, Sunday] → DateObject[{2022, 2, 6}, Day]

Topics

Related

All 6300 functions · Use this from an MCP client