# Filter HubDB data based on today's date

**URL:** <https://community.hubspot.com/t/filter-hubdb-data-based-on-todays-date/2912>\
**Category:** CMS Development\
**Tags:** hubdb\
**Created:** [August 2, 2017, 12:20pm UTC](https://community.hubspot.com/t/filter-hubdb-data-based-on-todays-date/2912 "2017-08-02T12:20:05Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![fawadsabri](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fawadsabri/32/102437_2.png) [@fawadsabri](https://community.hubspot.com/u/fawadsabri)\
**Post date:** [March 16, 2021, 8:38am UTC](https://community.hubspot.com/t/filter-hubdb-data-based-on-todays-date/2912/10 "2021-03-16T08:38:04Z")

</div>

Hi @jasonvanpelt, so i tried the cod and it works perfectkly. However i am not able to show the events for the next 30 days. How can i add that? Thanks in advance.

---

_[View the full topic](https://community.hubspot.com/t/filter-hubdb-data-based-on-todays-date/2912)._
