Created
January 17, 2020 03:35
-
-
Save miracleyoo/28da83bf079a01e5ab399ea28db5071c to your computer and use it in GitHub Desktop.
[Datetime frequently-used Format] #python
This file contains hidden or 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
import datetime | |
datetime.datetime.now().strftime("%Y-%m-%d_%H-%M-%S") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment