give date string form Day Month Year whereDay set 1st 2nd 3rd 4th 30th 31stmonth set Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov DecYear range 1900 2100convert date string format YYYYMMDD whereYYYY denote 4 digit yearMM denote 2 digit monthdd denote 2 digit day Example 1input date 20th Oct 2052output 20521020example 2input date 6th Jun 1933output 19330606example 3input date 26th May 1960output 19600526 ConstraintsThe give date guarantee valid error handle necessary