Implemented method to get taken date from a photo.