# Days in a Month - Formula

**URL:** https://community.baserow.io/t/days-in-a-month-formula/9675
**Category:** Uncategorized
**Tags:** formula
**Created:** [March 12, 2025, 1:47pm UTC](https://community.baserow.io/t/days-in-a-month-formula/9675 "2025-03-12T13:47:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Juanesd7](https://community.baserow.io/letter_avatar_proxy/v4/letter/j/d26b3c/32.png) [@Juanesd7](https://community.baserow.io/u/Juanesd7)
#### Post date: [March 12, 2025, 1:47pm UTC](https://community.baserow.io/t/days-in-a-month-formula/9675/1 "2025-03-12T13:47:56Z")

</div>

Hello,

I’m new to Baserow and would like to know how to calculate the number of days within a month (ex: 28, 30), derived from a date field. I require the integer representing the number of days for use in subsequent formula calculations.

---

<div class="post-metadata">

### Author: ![olgatrykush](https://community.baserow.io/user_avatar/community.baserow.io/olgatrykush/32/219_2.png) [@olgatrykush](https://community.baserow.io/u/olgatrykush)
#### Post date: [March 13, 2025, 11:31am UTC](https://community.baserow.io/t/days-in-a-month-formula/9675/2 "2025-03-13T11:31:01Z")

</div>

Hey @Juanesd7, welcome to the Baserow community 🙌

Is this what you’re asking for — defining the amount of days within a month based on a Date field:

 ![image](https://community.baserow.io/uploads/default/original/2X/7/785efffa4eafad2fc456fb7aaeef1435e996be02.png)
