In general Subsection (j) of section 3313 is amended to read as follows: (j) Determination of monthly housing stipends during active duty service For any month during which an individual who is entitled to a monthly housing stipend under this section is performing active duty service, the Secretary shall determine the amount of such stipend payable to such individual for such month on a pro rata basis for the period of such month during which the individual is not performing active duty service. . (2) Applicability Such subsection, as amended by paragraph (1), shall apply with respect to a quarter, semester, or term, as applicable, commencing on or after August 1, 2018. (d) Special application of school closure rule to recently enrolled individuals Subparagraph (B) of section 109(c)(1) of the Harry W. Colmery Veterans Educational Assistance Act of 2017 ( Public Law 115–48 ) is amended to read as follows: (B) Special application (i) In general With respect to courses and programs of education discontinued as described in section 3699 of title 38, United States Code, as added by subsection (a)(1), during the period beginning January 1, 2015, and ending on the date of the enactment of this Act, an individual described in clause (ii) who does not transfer credits from such program of education shall be deemed to be an individual who did not receive such credits, as described in subsection (b)(2) of such section, except that the period for which such individual’s entitlement is not charged shall be the entire period of the individual’s enrollment in the program of education. In carrying out this subparagraph, the Secretary of Veterans Affairs, in consultation with the Secretary of Education, shall establish procedures to determine whether the individual transferred credits to a comparable course or program of education. (ii) Individual described An individual described in this clause is an individual who is enrolled in a course or program of education discontinued as described in clause (i) during the period