Simply subsets any given dataframe to only columns with "time" in the name
keep_time_only(df)
a dataframe
a dataframe with only columns containing "time" in the name