getTimes function

Extract timestamps from the analysis results.