<p>Currently, the <code>postDate</code> of an entry is not indexed for search.</p>

<p>Kind of hacky, but you could make a custom DateTime field with duplicate information (i.e. <code>myPostDate</code>) and do a search based on that.</p>

CC BY-SA 3.0
2017-10-26T23:52:43.773Z
2017-10-26T23:52:43.773Z
Brad Bell
<p>Does the control panel search support postDate, expiryDate, dateCreated, dateUpdated?</p>

<p>For a custom date field, the below will return all dates in October 2017:<br>
<code>customDate:2017-10</code></p>

<p>But for entry attributes like postDate it returns nothing:<br>
<code>postDate:2017-09</code></p>

<p>Sure would be good to be able to search by these date values.</p>

<entries><control-panel><search><postdate>
CP search for entries by postDate?
# CP search for entries by postDate?

(Asked by: username_0 on 2017-10-26)

Does the control panel search support postDate, expiryDate, dateCreated, dateUpdated?

For a custom date field, the below will return all dates in October 2017:  
`customDate:2017-10`

But for entry attributes like postDate it returns nothing:  
`postDate:2017-09`

Sure would be good to be able to search by these date values.

**Tags:** entries, control-panel, search, postdate

---

## 1 answers

### Answer by username_1 on 2017-10-26. Score: 0 | Accepted answer

Currently, the `postDate` of an entry is not indexed for search.

Kind of hacky, but you could make a custom DateTime field with duplicate information (i.e. `myPostDate`) and do a search based on that.


---

