Created
February 17, 2019 19:41
-
-
Save groovecoder/cf927534f90764caf46f010da6596bce to your computer and use it in GitHub Desktop.
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
def parse_datetime_from_oscn_event_string(event): | |
event = event.replace('ARRAIGNMENT', '').rstrip() | |
return datetime.strptime(event, "%A, %B %d, %Y at %I:%M %p") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment