How to guess datetime pattern from input string in c++ or python?

后端 未结 0 1097
执笔经年
执笔经年 2021-02-02 01:27

I have a string input, it could be datetime string in any available format. Is there any lib that could help me recognize datetime string pattern? For example:

re         


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