Tuesday, 20 August 2013

Extracting year from a date string in python

Extracting year from a date string in python

The date in my data does not come in one single format. It comes as
"yyyy", "mm/dd/yyyy", "Jun-03". I want to extract the year out of it. How
can I do it.
Thanks

No comments:

Post a Comment