How to search mail in gmail based on date
There are several ways to search for emails in Gmail based on date:
Method 1: Using the "Search" bar
- Log in to your Gmail account.
- Click on the search bar at the top of the page.
- Type the following format:
before:YYYY-MM-DD
orafter:YYYY-MM-DD
orbetween:YYYY-MM-DD and YYYY-MM-DD
before
searches for emails sent before the specified date.after
searches for emails sent after the specified date.between
searches for emails sent within the specified date range.
- Replace
YYYY-MM-DD
with the desired date in the formatYYYY-MM-DD
.
Example:
before:2022-01-01
searches for emails sent before January 1, 2022.after:2022-01-01
searches for emails sent after January 1, 2022.between:2022-01-01 and 2022-01-31
searches for emails sent between January 1, 2022, and January 31, 2022.
Method 2: Using the "Filter" feature
- Log in to your Gmail account.
- Click on the gear icon () and select "See all settings."
- Click on the "Filters and Blocked Addresses" tab.
- Click on the "Create a new filter" button.
- In the "From" field, enter
before:YYYY-MM-DD
orafter:YYYY-MM-DD
orbetween:YYYY-MM-DD and YYYY-MM-DD
(same format as above). - Click on the "Create filter" button.
- Choose the action you want to take with the filtered emails (e.g., apply the label "Date: YYYY-MM-DD").
Method 3: Using the "Labels" feature
- Log in to your Gmail account.
- Click on the label icon () and select "New label."
- Enter a label name (e.g., "Date: YYYY-MM-DD").
- In the "Label description" field, enter the date range you want to search for (e.g., "January 1, 2022 - January 31, 2022").
- Click on the "Create" button.
- To search for emails with this label, click on the label icon and select "Search label."
Remember to replace YYYY-MM-DD
with the actual date you want to search for.