d = lweekdate(weekdayNumber, yearNumber, monthNumber)
| Parameter | Description |
|---|---|
| inputs | Weekday number, year number, and month number. |
| Parameter | Description |
|---|---|
| output | A serial date number. |
Return the last selected weekday in a month.
Weekday numbers follow weekday. The function starts from month end and steps backward to the requested weekday.
Array-valued inputs keep their data shape when the operation supports arrays. Scalar operands are expanded where the implementation defines scalar expansion.
datestr(lweekdate(6, 2024, 5))
| Version | Description |
|---|---|
| 2.0.0 | initial version |