# Filtering on dates

**URL:** <https://community.hubspot.com/t/filtering-on-dates/120134>\
**Category:** CRM\
**Tags:** starter\
**Created:** [November 8, 2024, 3:27pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134 "2024-11-08T15:27:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![FMontrelay](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@FMontrelay](https://community.hubspot.com/u/FMontrelay)\
**Post date:** [November 8, 2024, 3:27pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/1 "2024-11-08T15:27:01Z")

</div>

Hi, I want to filter contacts according to the value of a field that is a date. (typically: the date is beofre 2023; the date is between Jan and Dec 22; etc.). I then want to create a list based on that filter, or, even better, a smart list.

How can I do that?

Thanks

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 8, 2024, 3:32pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/2 "2024-11-08T15:32:38Z")

</div>

Hi @FMontrelay,

This can be achieved with lists: [Create segments](https://knowledge.hubspot.com/lists/create-active-or-static-lists)

- Create an active list
- Follow the steps to add the first filter
- Find your date property under ‘Contact properties’
- Select it
- Use the dropdown to specify the date range

Let me know if you have any follow-up questions!

---

<div class="post-metadata">

**Author:** ![FMontrelay](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@FMontrelay](https://community.hubspot.com/u/FMontrelay)\
**Post date:** [November 8, 2024, 5:04pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/3 "2024-11-08T17:04:32Z")

</div>

Hi,  
Please see attached screenshot (in French). The field is a date but the dropdown does not allow to pick a range.

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 8, 2024, 5:27pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/4 "2024-11-08T17:27:54Z")

</div>

@FMontrelay I’m not seeing a screenshot, can you please try again, directly in your browser?

---

<div class="post-metadata">

**Author:** ![FMontrelay](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@FMontrelay](https://community.hubspot.com/u/FMontrelay)\
**Post date:** [November 8, 2024, 5:55pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/5 "2024-11-08T17:55:59Z")

</div>

Here you go. Thanks

 ![FMontrelay_0-1731088534833.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/0/90587bede0992d84581609ca76dbb23436c2e48e.png)

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 8, 2024, 6:59pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/6 "2024-11-08T18:59:37Z")

</div>

@FMontrelay this doesn’t seem to be a date property but a single line text? For date filters to work, it must be a date property. You’re not going to able to apply between-filters to any other property type.

---

<div class="post-metadata">

**Author:** ![FMontrelay](https://avatars.discourse-cdn.com/v4/letter/f/e0b2c6/32.png) [@FMontrelay](https://community.hubspot.com/u/FMontrelay)\
**Post date:** [November 8, 2024, 7:08pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/7 "2024-11-08T19:08:32Z")

</div>

Ouch.  
This field is created by Waalaxy when exported. Is there anyway I can change the format to a real date format?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [November 8, 2024, 7:35pm UTC](https://community.hubspot.com/t/filtering-on-dates/120134/8 "2024-11-08T19:35:13Z")

</div>

@FMontrelay not once it’s in use - your vest course if action is likely creating a new date property and newly mapping Waalaxy to that date property. If that’s not an option, you’d have to look into custom code workflow actions in Operations Hub professional to concert the single line text into a date.
