Question: how to convert date to yyyy-mm-dd in python?
Answer: You can convert a string to date object using the strptime function. Provide the date string and the format in which the date is specified.