← Glean-ia-acs Β· Day 9 of 56
Level 200 β€” Foundations30 minNIST MAP

after: and before: Date Ranges

Precise quoted-date windows

You'll be able to

Read first

Day 2 Lab

  1. Pick a topic where you know roughly when the work happened.
  2. Add after:"2026-01-01" to cut everything older.
  3. Add before:"2026-04-01" to cap the far end of the window.
  4. Adjust the two dates until only the period you care about remains.
  5. Compare this to updated: β€” note when an exact window beats a relative one.

Working Example: after: and before: in Action

The after: and before: filters take quoted dates and fence results to a precise window. Verified against search_filters.

budget after:"2026-01-01"                       β†’ anything from Jan 1 onward
budget before:"2026-04-01"                       β†’ anything before Apr 1
budget after:"2026-01-01" before:"2026-04-01"    β†’ just Q1 2026

Quote the dates as "YYYY-MM-DD". Stack both bounds to isolate a single period.

Check for understanding

How do after: and before: together isolate one quarter of results?

Check yourself

Pick an answer β€” you'll see if it's right and why.

1. What does `roadmap updated:past_week` return?

2. How do you isolate results from Q1 2026 with a precise date window?

3. What is the difference between `in:` and `collection:`?

4. When is `my:history pricing` the right move?

5. After Glean Assistant gives a cited answer, what is the governed next step?

Pass threshold 80% Β· week 2 quiz

In 10 seconds

β€œNeed an exact window, not just recent? Use after:"2026-01-01" and before:"2026-04-01" to fence results to a precise date range. Quote the dates and stack the two to isolate a quarter.”

Next Β· Week 2 Day 3
in: and collection: Containers