How can I get the exact format date in Excel?
I need to create an Excel sheet from some data (in my "models.py" date_result_stamp it's DateTime field) in Django project and I don't know how I can pass the exact date (not str or another type of data) into Excel.
result["date_result_stamp"] = datetime.strftime(result["date_result_stamp"], "%Y-%m-%d")
It's str format and I need to get the date format.
Can you help me?