code: def parse_datetime(utc_timestamp_ms, utc_offset_ms):
      
      if utc_timestamp_ms:
          utc_timestamp_s = utc_timestamp_ms / 1000
          dt = datetime.datetime.fromtimestamp(utc_timestamp_s, tzutc())
  
          if utc_offset_ms:
              utc_offset_s = utc_offset_ms / 1000
              tz_offset = tzoffset(None, utc_offset_s)
              dt = dt.astimezone(tz_offset)
  
          return dt
docs: Create a timezone-aware ``datetime.datetime`` from the given UTC timestamp
      (in milliseconds), if provided. If an offest it given, it is applied to the
      datetime returned.
  
      Parameters
      ----------
      utc_timestamp_ms
          UTC timestamp in milliseconds.
      utc_offset_ms
          Offset from UTC, in milliseconds, to apply to the time.
  
      Returns
      -------
      A ``datetime.datetime`` if a timestamp is given, otherwise ``None``.