Get the date of first/last weekday from a specified date