timeInState

Return

returns timeStateExited - timeStateEntered