Skip to content

Instantly share code, notes, and snippets.

@crizCraig
Created June 18, 2021 17:30
Show Gist options
  • Save crizCraig/f3a641a1b9af7011a384c63488d29ecb to your computer and use it in GitHub Desktop.
Save crizCraig/f3a641a1b9af7011a384c63488d29ecb to your computer and use it in GitHub Desktop.
Just a date string
from datetime import datetime
DATE_STR = datetime.now().strftime('%Y_%m-%d_%H-%M.%S.%f')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment