This function takes a date and returns the date of the corresponding preceding workday, i.e. if the preceding day is either a sunday or a saturday then the date of the preceding friday is returned.