How to search mails in gmail through date
There are several ways to search for emails in Gmail by 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.
- In the "Apply the label" dropdown menu, select "Apply the label" and choose a label (e.g., "Old emails").
- Click on the "Create" button.
Method 3: Using the "Search" operator
- Log in to your Gmail account.
- Use the search operator
search
followed by the date range you want to search for.search before:YYYY-MM-DD
searches for emails sent before the specified date.search after:YYYY-MM-DD
searches for emails sent after the specified date.search between:YYYY-MM-DD and YYYY-MM-DD
searches for emails sent within the specified date range.
Example:
search before:2022-01-01
searches for emails sent before January 1, 2022.search after:2022-01-01
searches for emails sent after January 1, 2022.search between:2022-01-01 and 2022-01-31
searches for emails sent between January 1, 2022, and January 31, 2022.
Note: You can combine multiple search criteria using the AND
operator. For example: before:2022-01-01 AND from:[email protected]
searches for emails sent before January 1, 2022, from the email address [email protected]
.