def _str_to_date(self, date):
        return datetools.date_parser(date)
Takes a string and returns a datetime object
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/base/tsa_model.py/TimeSeriesModel._str_to_date