How do i create a timestamp without a comma - .0

前端 未结 0 919
我寻月下人不归
我寻月下人不归 2020-12-02 05:52

A = time.mktime(datetime.datetime.strptime(\'01/01/2020\', \'%d/%m/%Y\').timetuple()) B = datetime.datetime.strptime(\'01/01/2020\', "%d/%m/%Y").timestamp()

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