# Formula to calculate days between dates

**URL:** <https://community.fibery.io/t/formula-to-calculate-days-between-dates/4447>\
**Category:** Get Help\
**Created:** [May 15, 2023, 2:51pm UTC](https://community.fibery.io/t/formula-to-calculate-days-between-dates/4447 "2023-05-15T14:51:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gomocoop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/gomocoop/32/6349_2.png) [@gomocoop](https://community.fibery.io/u/gomocoop)\
**Post date:** [May 15, 2023, 2:51pm UTC](https://community.fibery.io/t/formula-to-calculate-days-between-dates/4447/1 "2023-05-15T14:51:22Z")

</div>

Hey!

I wanted to add a formula-field that would show how many days have passed between two date-fields that I have. How do I do it?

Thanks! =)

---

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [May 15, 2023, 2:59pm UTC](https://community.fibery.io/t/formula-to-calculate-days-between-dates/4447/2 "2023-05-15T14:59:03Z")

</div>

`ToDays(Date1 - Date2)`
