in reply to Re^2: date problem
in thread date problem

Changed avg_time_taken_in_QnA(@log_paths); to avg_time_taken_in_QnA(@_);. It was ignoring the arguments passed to it by process_summaryreport, referencing an undeclared variable instead. I doubt that was the cause of your problem.