In File Explorer, you can search by date with AQS filters like datecreated:2024-05-01..2024-05-31, datemodified:>=2024-05-01, or datecreated:2024-05-01 for a single day. If you pick the wrong date field or range, you waste time looking through the wrong files. Choose the field first, then narrow the search scope.
File Explorer can find files and folders on your PC and in the cloud, and it works in Windows 11 and Windows 10 (per Microsoft support). Open it with Windows logo key + E, then search from Home or inside a folder if you already know where the file lives. (Microsoft Support)
What you'll need before searching
What you'll need
- File Explorer open with Windows logo key + E
- A date you can type in YYYY-MM-DD format
- The right field: datecreated for when a file was made, datemodified for when it changed last
- A signed-in OneDrive account if the file may be in the cloud
- The navigation pane if you want to narrow the search to one folder tree
Search by a specific date or range
Use the date field that matches the question you are asking. For a file made on one day, use datecreated:2024-05-01. For recent changes, use datemodified:>=2024-05-01. For a range, use two dots between dates, such as datecreated:2024-05-01..2024-05-31.
- Open File Explorer. Press Windows logo key + E, or choose File Explorer from the taskbar or Start menu in Windows 11. This takes you to the search box in Home, where files from your PC and the cloud can appear.
- Pick the right field. Type datecreated: for creation date or datemodified: for last change date. That choice matters more than the folder you start in when the file is spread across synced locations.
- Enter the date filter. Use YYYY-MM-DD for a single day, >=YYYY-MM-DD for files on or after that day, <=YYYY-MM-DD for files on or before that day, or YYYY-MM-DD..YYYY-MM-DD for a range.
- Limit the search scope. If you know the file is in Downloads, Documents, Pictures, or another folder, select that folder in the navigation pane first. A smaller scope cuts down false matches.
- Check the result date. If the file shows up but looks wrong, compare the metadata column in Details view. A file can have a recent modified date even when its creation date is older.
Date search cheat sheet
| Search syntax | What it matches | When to use it | Common failure mode | Example |
|---|---|---|---|---|
| datecreated:2024-05-01 | Files created on one date | You know the exact day a file was made | Using modified date by mistake | Find a scan saved on 2024-05-01 |
| datemodified:2024-05-01 | Files changed on one date | You need edits from a specific day | Old files that were edited later also appear | Find a document last edited on 2024-05-01 |
| datecreated:>=2024-05-01 | Files created on or after that date | You want everything since a start date | Date format typed as MM/DD/YYYY on one PC and not another | Find files from 2024-05-01 and later |
| datemodified:<=2024-05-31 | Files changed on or before that date | You want an upper cutoff | Forgetting that time of day is not included here | Find files changed up to 2024-05-31 |
| datecreated:2024-05-01..2024-05-31 | Files created between two dates | You want a month or project window | Mixing creation and modification dates | Find files created during May 2024 |
| datemodified:2024-05-01..2024-05-31 | Files changed between two dates | You want a change window | Cloud sync delay can hide the newest edits | Find files edited during May 2024 |
Say your Photos folder has 200 screenshots, but only three were created on May 12. Use datecreated:2024-05-12 inside that folder instead of searching the whole PC. Suppose a report was edited three times last week. Use datemodified:>=2024-05-13 if you only care about the latest edits.
Why File Explorer date search misses files
When results are missing or wrong, the problem is usually the date field, the search scope, or cloud sync. Check datecreated versus datemodified first, then confirm whether the file is local, in OneDrive, or buried in a wider folder tree.
Date created versus date modified
Date created is the file’s creation date. Date modified is the last time the file changed. That difference explains many “wrong result” cases, especially with copied files, downloaded files, and documents edited long after they were first saved.
- Test the other field. If datecreated returns nothing, try datemodified with the same date. If the file was copied, edited, or downloaded later, the modified date may be the one File Explorer can match.
- Check column data. Switch to Details view and compare Date created and Date modified. This tells you which filter belongs in the search box.
OneDrive and sync status
File Explorer can search files in the cloud, but Microsoft says cloud search requires signing in to your cloud account(s) from Start > Settings > Accounts. If a OneDrive file is not fully synced, it may not appear the way you expect in search results.
- Sign in to OneDrive. Go to Start > Settings > Accounts and confirm the cloud account is connected. Then repeat the search in File Explorer Home if the file may live in OneDrive.
- Wait for sync completion. Check the OneDrive sync icon before trusting the date filter. A file that has not finished syncing can show up late or with stale metadata.
Indexing, scope, and date format
Search is faster and more predictable when you narrow the location. Use the navigation pane to open a folder first, or show it with View > Show > Navigation Pane. On Windows 11 version 22H2, Home replaced Quick access, and known folders appear there as pinned folders by default: Desktop, Documents, Downloads, Pictures, Music, and Videos.
- Narrow the folder first. Search inside Downloads, Documents, or another likely folder instead of the whole PC. This matters if the file sits in a non-indexed or less obvious location.
- Use one date format. Type dates as YYYY-MM-DD in the query. If you switch formats mid-search, File Explorer may not parse the filter the way you expect.
A common first-timer mistake is searching datemodified:2024-05-01 for a file that was created that day but edited later. Another is searching Home while the file is in a folder that is not part of the current scope. Both cases look like bad search results, but the fix is just a different field or a tighter folder.
Quick paths for common file types
Different file types usually need a different starting point. Photos often fit a creation-date search. Downloads often need a folder-limited search because the same day may contain many installers, PDFs, and images. Documents usually need datemodified if you are chasing the latest edits, while OneDrive files need an account check first.
- Photos: use datecreated: when the capture or import day matters.
- Downloads: open Downloads first, then search by datemodified: or datecreated: depending on the file.
- Documents: use datemodified: for current drafts and datecreated: for original saves.
- OneDrive: sign in, confirm sync, then search in Home or inside the OneDrive folder.
Common mistakes
Most bad date searches come from three mistakes: using the wrong field, searching too broad a location, or expecting synced cloud files to behave like local files. Fix those first, and the query usually starts working without any deeper change.
- Wrong field: switch between datecreated and datemodified.
- Wrong scope: use the navigation pane to search inside one folder.
- Wrong account state: sign in to cloud accounts under Start > Settings > Accounts.
- Wrong format: keep dates in YYYY-MM-DD.
Frequently asked questions
How do I search by date in File Explorer?
Open File Explorer with Windows logo key + E, then type a date filter such as datecreated:2024-05-01 or datemodified:2024-05-01..2024-05-31 in the search box. Use datecreated for original creation dates and datemodified for recent edits.
How do I search File Explorer by date created?
Use datecreated: followed by the day you want, such as datecreated:2024-05-12. If that misses files you expect, check whether the file was copied or edited later, because that can leave datemodified different from the creation date.
Can I search Explorer for files from a specific date?
Yes. Type datecreated:2024-05-12 for files created on that day, or datemodified:2024-05-12 for files changed on that day. If you want every file from a day range, use the two-dot format, such as datecreated:2024-05-12..2024-05-18.
How do I search files between two dates in Windows Explorer?
Use a range with two dots, such as datemodified:2024-05-01..2024-05-31 or datecreated:2024-05-01..2024-05-31. If the range seems wrong, switch the field before changing the dates, because the field choice changes the result set more than the folder does.
Why does File Explorer search by date not show the right files?
The usual causes are the wrong date field, cloud sync not finished, or a search scope that is too wide. Try the same query with the other field, search inside one folder, and confirm OneDrive sign-in under Start > Settings > Accounts if the file may be in the cloud.
Can File Explorer search files on OneDrive by date?
Yes, but cloud search works best after you sign in to your cloud account(s) from Start > Settings > Accounts. Search in Home or inside the OneDrive folder, then use datecreated: or datemodified: just like you would for a local file.