Last active
February 25, 2020 13:00
-
-
Save quantra-go-algo/2b91a5bd42ceed6a5a982cef2e654417 to your computer and use it in GitHub Desktop.
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
#Converting a string to datetime | |
datestr = '2018-02-14' | |
datetime.strptime(datestr, '%Y-%m-%d') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment