Working with Date.prototype.toUTCString()

33.3% Acceptance

In this lab, you have to create a function named 'getUTCDate' that takes a date string as input and returns the UTC string representation of that date. The function will utilize JavaScript's built-in Date object and its toUTCString() method. This lab aims to familiarize you with handling dates in JavaScript and converting them to the UTC format. Write the 'getUTCDate' function in index.js file.