Adapting process 'GetTimeData' to work with any collection type.