Calculate tfdt duration field