def getFileDates(path):
  """Returns a dictionary of file creation (ctime), modification (mtime), exif (exif) dates"""
  dates = {}
  dates['exif'] = getExifCreationDate(path)
  dates['mtime'] = time.localtime(os.path.getmtime(path))
  dates['ctime'] = time.localtime(os.path.getctime(path))
  return dates
Returns a dictionary of file creation (ctime), modification (mtime), exif (exif) dates
recipes/Python/576822_Redate_pictures_with_EXIF/recipe-576822.py