Wednesday, 2 October 2013

Python - Easier way to create date object from string

Python - Easier way to create date object from string

I'm working on an image upload utility, and part of the functionality is
to parse the IPTC and EXIF data of the images.
IPTCInfo gets the information I need, but the date fields are in the
format 20130925.
Now, I can break that integer up into 2013 09 25 and create a date object.
Before I do so, is there already existing functionality to solve this
issue?

No comments:

Post a Comment