use strptime or python-dateutil