# Number days financial year

**URL:** <https://community.silverfin.com/t/number-days-financial-year/1239>\
**Category:** Reports\
**Created:** [October 11, 2018, 7:29am UTC](https://community.silverfin.com/t/number-days-financial-year/1239 "2018-10-11T07:29:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![svalais](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/svalais/32/2422_2.png) [@svalais](https://community.silverfin.com/u/svalais)\
**Post date:** [October 11, 2018, 7:29am UTC](https://community.silverfin.com/t/number-days-financial-year/1239/1 "2018-10-11T07:29:32Z")

</div>

Hello,

Is it possible to calculate in a formule the number of days of the financial year?

If yes, how?

I already tried to use as formule (period.year\_end\_date-period.year\_start\_date)+1 but the result is 1 and not 365.

Thanks,

Sylvie

---

<div class="post-metadata">

**Author:** ![Michiel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michiel/32/2364_2.png) [@Michiel](https://community.silverfin.com/u/Michiel)\
**Post date:** [October 11, 2018, 8:20am UTC](https://community.silverfin.com/t/number-days-financial-year/1239/2 "2018-10-11T08:20:16Z")

</div>

Hi Sylvie,

the code below should work to calculate the number of days of the financial year:

{% assign total\_days\_in\_book\_year = period.year\_end\_date-period.year\_start\_date+1 %}

Michiel

---

<div class="post-metadata">

**Author:** ![svalais](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/svalais/32/2422_2.png) [@svalais](https://community.silverfin.com/u/svalais)\
**Post date:** [October 11, 2018, 8:47am UTC](https://community.silverfin.com/t/number-days-financial-year/1239/3 "2018-10-11T08:47:37Z")

</div>

Hallo,

The formule {% assign total\_days\_in\_book\_year = period.end\_date-period.year\_start\_date+1 %} does not work in a report.

Do you have a solution for me?

Thanks,

Sylvie

---

<div class="post-metadata">

**Author:** ![Michiel](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michiel/32/2364_2.png) [@Michiel](https://community.silverfin.com/u/Michiel)\
**Post date:** [October 11, 2018, 8:50am UTC](https://community.silverfin.com/t/number-days-financial-year/1239/4 "2018-10-11T08:50:59Z")

</div>

Hi Sylvie,

Why would you like to calculate the number of days in a report? Currently we do not support this. Would it be possible in your case to first use the formula in a reconciliation template, do some calculation with it and then show the result of this calculation in your report?

Kind regards,

Michiel
