DF#QCADOOCLS-2862 fix in time calculation