# Timeframe for blog\_popular\_posts HubL function?

**URL:** <https://community.hubspot.com/t/timeframe-for-blog-popular-posts-hubl-function/70597>\
**Category:** CMS Development\
**Created:** [December 5, 2022, 9:34pm UTC](https://community.hubspot.com/t/timeframe-for-blog-popular-posts-hubl-function/70597 "2022-12-05T21:34:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BRoddy9](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BRoddy9](https://community.hubspot.com/u/BRoddy9)\
**Post date:** [December 5, 2022, 9:34pm UTC](https://community.hubspot.com/t/timeframe-for-blog-popular-posts-hubl-function/70597/1 "2022-12-05T21:34:58Z")

</div>

Hi, just a quick question about [the blog\_popular\_posts HubL function](https://developers.hubspot.com/docs/cms/hubl/functions#blog-popular-posts). Regarding the timeframe parameter, does anyone know if specifying “popular\_past\_month” will fetch

1. the most popular results for the past 31-day period or
2. just for the current calendar month (i.e. if the current day is Feb. 3, just the previous 3-day period?)

We looked at the documentation and we’re a little unclear, just wanted to know for UX purposes. Thank you for any help you can give us.

 ![BRoddy9_0-1670275989080.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/b/8bd82aafaacf14f7ac6359ec7e889b740b664853.png)

---

<div class="post-metadata">

**Author:** ![alyssamwilie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alyssamwilie/32/2072_2.png) [@alyssamwilie](https://community.hubspot.com/u/alyssamwilie)\
**Post date:** [December 6, 2022, 7:38pm UTC](https://community.hubspot.com/t/timeframe-for-blog-popular-posts-hubl-function/70597/2 "2022-12-06T19:38:06Z")

</div>

Considering HubSpot’s blog anayltics and other similar functions go by days instead of calendar months I would believe that that parameter returns popular posts from the past 30 days.
