Preventing ValueError when converting a user inputted string to datetime.date

前端 未结 0 428
旧巷少年郎
旧巷少年郎 2021-01-07 22:28

Is it possible to not have an error when it encounters a ValueError from a user inputting an invalid date? For example if I input "123456" in the date box the prog

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