How to format a mysql datetime yyyy-mm-dd to dd-mm-yyyy in Python?

前端 未结 0 2000
灰色年华
灰色年华 2021-01-14 09:17

My python code retrieves a datetime column from a mySql server database. I can print the datetime as it is stored on the server (ex. 2018-10-22, however I need to print it i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题