Last active
March 17, 2019 13:41
-
-
Save Mdslino/98a9a37049da90a8878cb630250b0758 to your computer and use it in GitHub Desktop.
Parse date string with python-dateutil
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 dateutil.parser import parse | |
date1 = parse('2006-01-02T15:04:05) | |
date2 = parse('2006-01-02 15:04:05) | |
date3 = parse('02/01/2006 15:04:05) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment