How to convert the below string date into date format in python.
input: date=\'15-MARCH-2015\' expected output: 2015-03-15
I tried to use
You can use easy_date to make it easy:
import date_converter converted_date = date_converter.string_to_string('15-MARCH-2015', '%d-%B-%Y', '%Y-%m-%d')