I have an array of dates. I need to convert these dates into their representing workday for their respective months. For example, 12/14/2021 (mm/dd/yyyy) must be turned into 10 because it is the 10th workday in the month of December of 2021; similarly, 1/31/2022 must be turned into 21 since it is the 21th workday in the month of January of 2022. If the date is not a workday, we can choose an identifying characters.

I thought about using the bizdays package but I'm struggling here. Could anyone help?