1507. Reformat Date
Description
**Input:** date = "20th Oct 2052"
**Output:** "2052-10-20"**Input:** date = "6th Jun 1933"
**Output:** "1933-06-06"ac
Last updated
**Input:** date = "20th Oct 2052"
**Output:** "2052-10-20"**Input:** date = "6th Jun 1933"
**Output:** "1933-06-06"Last updated
**Input:** date = "26th May 1960"
**Output:** "1960-05-26"