Getting current hour and minute in datetime format in python

前端 未结 0 1633
一生所求
一生所求 2020-12-29 07:00

I would like to get the current time in a specific format in python:

  1. \'H:M\' format
  2. \'datetime.time\' class

This is because I\'m trying t

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