Question: An application requires different date formats to be converted into one common date format. Implement the function transform _ date _ format which accepts a
An application requires different date formats to be converted into one common date format.
Implement the function transformdateformat which accepts a list of dates as strings, and returns a new list of strings that represents dates in the format of YYYYDDMM where YYYY MM and DD are numbers representing year, month, and day, respectively. All incoming dates will be valid dates, but only those in one of the following formats: YYYYP DDp MM YYYYMMDD or MMDDYYYY should be included in the returned list.
For example, transformdateformatp p should return the list
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
