SetDuration function

Learn technical details about the SetDuration function.