Quick search by citation:

10 U.S. Code § 10212 - Gratuitous services of officers: authority to accept

(a)
Notwithstanding section 1342 of title 31, the Secretary of Defense may accept the gratuitous services of an officer of a reserve component (other than an officer of the Army National Guard of the United States or the Air National Guard of the United States) in consultation upon matters relating to the armed forces.
(b) Notwithstanding section 1342 of title 31, the Secretary of a military department may accept the gratuitous services of an officer of a reserve component under the Secretary’s jurisdiction (other than an officer of the Army National Guard of the United States or the Air National Guard of the United States)—
(1)
in the furtherance of the enrollment, organization, and training of that officer’s reserve component or the Reserve Officers’ Training Corps; or
(2)
in consultation upon matters relating to the armed forces.
Editorial Notes
Prior Provisions

Provisions similar to those in this section were contained in section 279 of this title, prior to repeal by Pub. L. 103–337, § 1661(a)(2)(A), and in sections 4541 and 9541 of this title, prior to repeal by Pub. L. 103–160, § 822(d)(2).

Amendments

1994—Pub. L. 103–355 added subsec. (a) and designated existing provisions as subsec. (b).

Statutory Notes and Related Subsidiaries
Effective Date of 1994 Amendment

Pub. L. 103–355, title III, § 3021(b), Oct. 13, 1994, 108 Stat. 3333, provided that:

“Notwithstanding section 10001 [set out as a note under section 2302 of this title], the amendments made by subsection (a) [amending this section] shall take effect on December 1, 1994, immediately after the amendments made by the Reserve Officer Personnel Management Act [Pub. L. 103–337, see Tables for classification].”
Effective Date

Section effective Dec. 1, 1994, except as otherwise provided, see section 1691 of Pub. L. 103–337, set out as a note under section 10001 of this title.