# Formula to output future date

**URL:** <https://community.hubspot.com/t/formula-to-output-future-date/98889>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** object\
**Created:** [January 29, 2024, 3:58pm UTC](https://community.hubspot.com/t/formula-to-output-future-date/98889 "2024-01-29T15:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BGreen92](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@BGreen92](https://community.hubspot.com/u/BGreen92)\
**Post date:** [January 29, 2024, 3:58pm UTC](https://community.hubspot.com/t/formula-to-output-future-date/98889/1 "2024-01-29T15:58:09Z")

</div>

I’m trying to create a formula to do the following:

_Invoice Date (01/01/2024) + Contract Length Months (12) = Contract Renewal Date (01/01/2025)_

I have the following properties set up on a deal which is:  
Invoice Date = Date

Contract Length Months = Number

Renewal Date = Date

I have tried the following formula, but it won’t work:

_plus\_time([invoice\_date],[contract\_length\_months], “months”)_

If I change [contract\_length\_months] to a number such as 12 so it looks like this:

_plus\_time([invoice\_date],12, “months”)_

It works. It generates the future date. I can’t set the value as it needs to come from the field as it varies per deal.

Any help would be great! Thanks

---

<div class="post-metadata">

**Author:** ![BGreen92](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@BGreen92](https://community.hubspot.com/u/BGreen92)\
**Post date:** [January 29, 2024, 4:40pm UTC](https://community.hubspot.com/t/formula-to-output-future-date/98889/2 "2024-01-29T16:40:05Z")

</div>

This is now resolved
