Skip to content

Instantly share code, notes, and snippets.

@miracleyoo
Created January 17, 2020 03:35
Show Gist options
  • Save miracleyoo/28da83bf079a01e5ab399ea28db5071c to your computer and use it in GitHub Desktop.
Save miracleyoo/28da83bf079a01e5ab399ea28db5071c to your computer and use it in GitHub Desktop.
[Datetime frequently-used Format] #python
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