code: def get_utc_timestamp(dt):
      
  
      dt = pd.to_datetime(dt)
      try:
          dt = dt.tz_localize('UTC')
      except TypeError:
          dt = dt.tz_convert('UTC')
      return dt
docs: Returns the Timestamp/DatetimeIndex
      with either localized or converted to UTC.
  
      Parameters
      ----------
      dt : Timestamp/DatetimeIndex
          the date(s) to be converted
  
      Returns
      -------
      same type as input
          date(s) converted to UTC