Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created February 17, 2019 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save groovecoder/cf927534f90764caf46f010da6596bce to your computer and use it in GitHub Desktop.
Save groovecoder/cf927534f90764caf46f010da6596bce to your computer and use it in GitHub Desktop.
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