# Get popular posts within a date range

**URL:** <https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202>\
**Category:** CMS Development\
**Tags:** professional, starter\
**Created:** [November 16, 2023, 4:13pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202 "2023-11-16T16:13:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LT3](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@LT3](https://community.hubspot.com/u/LT3)\
**Post date:** [November 16, 2023, 4:13pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/1 "2023-11-16T16:13:56Z")

</div>

I am trying to get top 3 popular posts created within the last 6 months. The hubl functions mentioned in the documentation

popular\_past\_six\_month get all popular posts past 6 months but not within 6 months from current date. Is there a way to achieve this? Any hep is much appreciated.

---

<div class="post-metadata">

**Author:** ![LT3](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@LT3](https://community.hubspot.com/u/LT3)\
**Post date:** [November 17, 2023, 3:03pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/2 "2023-11-17T15:03:56Z")

</div>

I am trying to get top 3 popular posts created within the last 6 months. The hubl functions mentioned in the documentation

popular\_past\_six\_month get all popular posts past 6 months but not within 6 months from current date. Is there a way to achieve this? Any hep is much appreciated.

P.S. For example when i run the form It should get popular post from todays date till past 6 months.

There is no limit on how many posts gets created in a month.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 17, 2023, 6:15pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/3 "2023-11-17T18:15:46Z")

</div>

Hi, @LT3 👋 Thanks for the interesting question. Let’s invite some of our community members to the converstaion. Hey @Anton @assi @Indra, do you have any recent experiences to share? Or thoughts on other ways you can tackle a project like this?

Thank you for taking a look! — Jaycee

---

<div class="post-metadata">

**Author:** ![LT3](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@LT3](https://community.hubspot.com/u/LT3)\
**Post date:** [November 20, 2023, 7:51pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/4 "2023-11-20T19:51:11Z")

</div>

Can Anyone help here for this requirement on blogs? @Anton @assi [@Indra](https://community.hubspot.com/t5/user/viewprofilepage/user-id/78983)

---

<div class="post-metadata">

**Author:** ![Lily\_Chen](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@Lily\_Chen](https://community.hubspot.com/u/Lily_Chen)\
**Post date:** [February 27, 2024, 10:54pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/5 "2024-02-27T22:54:38Z")

</div>

Hi @LT3 Did you find out the solution at the end?

---

<div class="post-metadata">

**Author:** ![LT3](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@LT3](https://community.hubspot.com/u/LT3)\
**Post date:** [November 28, 2023, 7:16pm UTC](https://community.hubspot.com/t/get-popular-posts-within-a-date-range/94202/6 "2023-11-28T19:16:17Z")

</div>

Any update on this question?
