from dateutil.parser import parse install code example Example: install dateutil pip install python-dateutil