datetime auto detect format python code example
Example: pyton recognize any datetime format
import datefinder
string_value = " created 01/15/2005 by ACME inc.and associates.January 4th,2017 at 8pm"
matches = datefinder.find_dates(string_value)
for match in matches:
print("match found ",match)