Last active
November 18, 2021 02:16
-
-
Save aeg/9c5e99d549d11abffd99363b6514edea to your computer and use it in GitHub Desktop.
Python で yyymmdd_hhMMss みたいな文字列を作る。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import datetime | |
datestr = {0:%Y%m%d_%H%M%S}'.format(datetime.now()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment