fixe time calculation