How convert current date to a DD/MM/YYYY

后端 未结 0 915
慢半拍i
慢半拍i 2020-12-02 23:39

How can I get the the import function to convert the date into a European date ? Example: (‘4/7/14’) returns ‘07/04/12’

import datetime

today = datetime.dat         


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