code: def _epoch_year_from_sgs_time(sgs_time_array: ArrayLike) -> datetime:
      century = sgs_time_array["century"].astype(np.int64)
      year = sgs_time_array["year"].astype(np.int64)
      year = (
          (century >> 4) * 1000
          + (century & 15) * 100
          + (year >> 4) * 10
          + (year & 15)
      )
      return datetime(int(year), 1, 1)
  
imports: import logging
  from datetime import datetime, timedelta
  import dask.array
  import numpy
  import xarray
  from satpy._compat import ArrayLike
  from satpy.readers._geos_area import get_area_definition, get_area_extent, get_geos_area_naming
  from satpy.readers.eum_base import recarray2dict, time_cds_short
  from satpy.readers.hrit_base import HRITFileHandler, ancillary_text, annotation_header, base_hdr_map, image_data_function
label_desc: Use image node_id 2 for calling a global function with example usage: _epoch_year_from_sgs_time(sgs_time_array) and returns: datetime