Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In my opinion, it is easier and more logical to use the same datetime, most likely it has already been imported, and there is no need to bloat the project with additional libraries:
from datetime import datetime
d = datetime.strptime( "31 Jul 2018", "%d %b %Y" )
If you like bicycles made of crutches, then you can use regular expressions :)
I have nothing to do, I can write the solution code. Maybe even faster libraries will work :P
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question