Time issues when validating MM/DD/YYYY HH:MM with datetime module

后端 未结 0 1132
孤城傲影
孤城傲影 2021-01-06 16:26

I need to validate the date and time in the format MM/DD/YYYY HH:MM AM/PM. I used the below code,

dateTimeFormat = datetime.now().strftime(\'%m/%d/%Y %I:%M %p         


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