# Functions 'Add n days/months/years to date' not available in calculation

**URL:** <https://community.triggre.com/t/functions-add-n-days-months-years-to-date-not-available-in-calculation/191>\
**Category:** Support\
**Tags:** dates, calculations\
**Created:** [August 1, 2022, 7:40pm UTC](https://community.triggre.com/t/functions-add-n-days-months-years-to-date-not-available-in-calculation/191 "2022-08-01T19:40:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvester](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/sylvester/32/787_2.png) [@sylvester](https://community.triggre.com/u/sylvester)\
**Post date:** [August 1, 2022, 7:40pm UTC](https://community.triggre.com/t/functions-add-n-days-months-years-to-date-not-available-in-calculation/191/1 "2022-08-01T19:40:38Z")

</div>

When creating a calculation using ‘Add n months to date’ I noticed the function was unavailable in the Calculation. Since I have used it before in calculations, I wondered how that could be. After some experimenting I found out the these functions (and probably others) are only available AFTER another calculation has been created using any of the other functions that ARE available. In my case I created a dummy calculation to count the items in some irrelevant list and placed it before my actual calculation. Then the function Add N to date became available. After I finished my calculation, I removed the dummy and reconnected the flow. And now it works.  
To me this seems like some bug, or there is some logic there that I can’t wrap my head around. HAs anyone encoutered something similar and can confirm or deny that this is by design?

---

<div class="post-metadata">

**Author:** ![Eddie](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/eddie/32/89_2.png) [@Eddie](https://community.triggre.com/u/Eddie)\
**Post date:** [August 2, 2022, 8:26am UTC](https://community.triggre.com/t/functions-add-n-days-months-years-to-date-not-available-in-calculation/191/2 "2022-08-02T08:26:24Z")

</div>

Hi Sylvester,  
The application shouldn’t work like you describe. Can you give me a bit more details about this, like user flow, flow part, maybe even a screenshot or little movie and send it to me by e-mail so I can check it out.

---

<div class="post-metadata">

**Author:** ![sylvester](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.triggre.com/sylvester/32/787_2.png) [@sylvester](https://community.triggre.com/u/sylvester)\
**Post date:** [August 4, 2022, 11:52am UTC](https://community.triggre.com/t/functions-add-n-days-months-years-to-date-not-available-in-calculation/191/3 "2022-08-04T11:52:05Z")

</div>

Hi Eddie, thanks for responding. I will send you a more elaborate explanation with visual material by mail.
