python 現在時刻取得 - Qiita

from datetime import datetimedatetime.now().strftime("%Y/%m/%d %H:%M:%S")##現在日時のdatetimeオブジェクトを取得…