def split_time(dates):
    """
    Split datetime64 dates into hour, minute, second components.
    """
    hh = (dates - dates.astype("<M8[D]")).astype("<m8[h]").astype(int)
    mm = (dates - dates.astype("<M8[h]")).astype("<m8[m]").astype(int)
    ss = (dates - dates.astype("<M8[m]")).astype("<m8[s]").astype(int)
    return hh, mm, ss