print all the dates of that weekday in the given month