Created
August 27, 2019 12:45
-
-
Save technocake/d84d8c3f4d5c48103a827a8afa013fd6 to your computer and use it in GitHub Desktop.
parse UTC + 0 isoformated strings
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 | |
inn = '2019-02-02T23:12:39.05Z' | |
fmt = "%Y-%m-%dT%H:%M:%S.%fZ" | |
print(datetime.strptime(inn, fmt)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment