original_docstring: Extract and returns local time and date from exif_tags
docstring: Extract and returns local time and date from exif_tags
docstring_tokens: Extract and returns local time and date from exif_tags
code: def extract_datetime_exif(exif_tags):
      """Extract and returns local time and date from exif_tags"""
      # Invalid values if tags do not exist
      datetime_out = datetime(year=1900, month=1, day=1)
  
      if 'Image DateTime' in exif_tags:
          datetime_out = datetime.strptime(exif_tags['Image DateTime'].values, "%Y:%m:%d %H:%M:%S")
  
      return datetime_out
code_tokens: def extract_datetime_exif ( exif_tags ) : datetime_out = datetime ( year = 1900 , month = 1 , day = 1 ) if 'Image DateTime' in exif_tags : datetime_out = datetime . strptime ( exif_tags [ 'Image DateTime' ] . values , "%Y:%m:%d %H:%M:%S" ) return datetime_out
short_docstring: Extract and returns local time and date from exif_tags
short_docstring_tokens: Extract and returns local time and date from exif_tags
comment: """Extract and returns local time and date from exif_tags"""$SEP$# Invalid values if tags do not exist
  