code: def normalize_data_query_time(dt, time, tz):
      """Apply the correct time and timezone to a date.
  
      Parameters
      ----------
      dt : pd.Timestamp
          The original datetime that represents the date.
      time : datetime.time
          The time of day to use as the cutoff point for new data. Data points
          that you learn about after this time will become available to your
          algorithm on the next trading day.
      tz : tzinfo
          The timezone to normalize your dates to before comparing against
          `time`.
  
      Returns
      -------
      query_dt : pd.Timestamp
          The timestamp with the correct time and date in utc.
      """
      # merge the correct date with the time in the given timezone then convert
      # back to utc
      return pd.Timestamp(
          datetime.datetime.combine(dt.date(), time),
          tz=tz,
      ).tz_convert("utc")
  
file_path: catalyst/catalyst/pipeline/loaders/utils.py
imports: import datetime
  import numpy
  import pandas
  from catalyst.pipeline.common import TS_FIELD_NAME, SID_FIELD_NAME
  from catalyst.utils.numpy_utils import categorical_dtype
  from catalyst.utils.pandas_utils import mask_between_time
label_desc: Use image node_id 5 for calling a global function with example usage: normalize_data_query_time(dt, time, tz) and returns: pd