Changed function to determine the Wednesday date not matter what date is inputted.