Pythonの取得時間

  

DT = datetime.datetime.now()
時間= dt.hour
月= dt.month
日= dt.day

おすすめ

転載: www.cnblogs.com/yjybupt/p/11505385.html