Last active
January 5, 2021 09:51
-
-
Save winnydejong/2de9d75641af3208a9d0fe4456325eae to your computer and use it in GitHub Desktop.
Since I always forget how to set the dates as I use them in all my filenames, I made myself this gist. Will thank me later, surely. -_-
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 as dt | |
now = dt.datetime.now().strftime('%y%m%d %H.%M') | |
today = dt.datetime.now().strftime('%y%m%d') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment