after:before:Finds messages received after or before a specific date.
after: keeps messages received after the date, before: those received before it. Google documents two formats: YYYY/MM/DD and MM/DD/YYYY. The two operators combine to bound a period.
after:2004/04/16Open in Gmail ↗Messages received after April 16, 2004.
before:04/18/2004Open in Gmail ↗Messages received before April 18, 2004, in month/day/year format.
after:2004/04/16 before:2004/04/18Open in Gmail ↗Messages from a bounded period.
older_than:.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 documented as month/day (April 5), not May 4.Documented by Google · Gmail Help: search operatorsolder: and newer:, but the help page neither explains them nor gives any example.Not documented by Google · Gmail Help: search operators