A query that isolates messages received between two dates, for example a quarter.
When you roughly know when a message arrived, bounding the search with two dates is an alternative to searching by word.
after:2024/01/01 before:2024/04/01Open in Gmail ↗after:2024/01/01Keeps the messages received after January 1, 2024. after: before:before:2024/04/01Keeps those received before April 1, 2024. after: before:from:amy@example.com after:2024/01/01 before:2024/04/01Open in Gmail ↗The same period, for a single sender.
subject:invoice after:2024/01/01Open in Gmail ↗Messages whose subject contains "invoice" since January 1, 2024.
YYYY/MM/DD and MM/DD/YYYY. Day-first dates (DD/MM/YYYY), the norm in much of the world, are not among them: 04/05/2024 is read as April 5. This example uses YYYY/MM/DD, which is unambiguous.Documented by Google · Gmail Help: search operators