The function printDate(date: String) gets an ISO 8601 string representing a date (for example, 2000-01-01) as a parameter and prints the date in the following format: SATURDAY, JANUARY 1, 2000.
Write the correct code for the printDate() function.