The regulation says
https://ww2.montgomeryschoolsmd.org/departments/policy/pdf/jea-ra%20nondiscrimination.pdf
A number of activities or work
situations that the principal/designee should excuse when approval
for the absence has been requested five school days in advance in
writing from the parent/guardian/eligible student are included
below:
(1) Visits to college campuses and participation in college
orientation programs (see local student handbook for
limitations)
https://www.montgomeryschoolsmd.org/uploadedFiles/students/rights/0848.22_2022-23_StudentRightsAndResponsibilities_WEB.pdf says the same thing.
Poolesville high school says they limit college visits to 3. Other schools may have different limits, but I think 3 days is the general expectation.