The function below calculates the day of the week for any given date. It currently is not returning the correct day.

Part 1: The function is not working correctly. Fix it to return the correct day. Test cases: 26/07/1969 = Saturday || 01/06/2020 = Monday.

Part 2: Update the function to print the day and month as follows. Test cases: 26/07/1969 = Saturday, 26 July 1969 || 31/12/1999 = Friday, 31 December 1999.