select_all_time_function function

Function to select all "time" data