python - convert datetime to varchar/string,"d = datetime.strptime(date_str, '%Y-%m-%d')"