# Convert “unknown format” strings to datetime objects in Python # Python3 code to illustrate the conversion of# "unknown format" strings to DateTime objects  # Importing parser from the dateutil.parserimport dateutil.parser as parser  # Initializing an unknown format date stringdate_string = "19750503T080120"  # Calling the parser to parse the above# specified unformatted date string# into a datetime objectsdate_time = parser.parse(date_string)  # Printing the converted datetime objectprint(date_time)