code: def _GetDelayImportTimestamps(self, pefile_object):
      
      delay_import_timestamps = []
      if not hasattr(pefile_object, 'DIRECTORY_ENTRY_DELAY_IMPORT'):
        return delay_import_timestamps
      for importdata in pefile_object.DIRECTORY_ENTRY_DELAY_IMPORT:
        dll_name = importdata.dll
        try:
          dll_name = dll_name.decode('ascii')
        except UnicodeDecodeError:
          dll_name = dll_name.decode('ascii', errors='replace')
  
        timestamp = getattr(importdata.struct, 'dwTimeStamp', 0)
        delay_import_timestamps.append([dll_name, timestamp])
      return delay_import_timestamps
docs: Retrieves timestamps from delay import entries, if available.
  
      Args:
        pefile_object (pefile.PE): pefile object.
  
      Returns:
        tuple[str, int]: name of the DLL being imported and the second is
            the timestamp of the entry.