Dear Freinds
I have string contains the date like "21Jun2000"
What I want to do is to convert that string into date in the following format
21 Jun 2000
Plesae help me as soon as possible
'Thank you very much
Dear Freinds
I have string contains the date like "21Jun2000"
What I want to do is to convert that string into date in the following format
21 Jun 2000
Plesae help me as soon as possible
'Thank you very much
If the format is constant you could
>>> date = "21Jun2000"
>>> day = date[:2]
>>> month = date[2:5]
>>> year = date[5:]
>>> print day, month, year
21 Jun 2000