Created
May 25, 2017 16:23
-
-
Save CzechJiri/6043a529ea9b0aa073d2f17804ee4379 to your computer and use it in GitHub Desktop.
my ideal date format for python logging with no spaces, commas or missing timezone
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, timezone | |
print( datetime.now(timezone.utc).isoformat() ) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment