Accouting time duratin calculation