GetRemainingTime function

Learn technical details about the GetRemainingTime function.