# Subscription space template: Formula missing zero padding?

**URL:** <https://community.fibery.io/t/subscription-space-template-formula-missing-zero-padding/5452>\
**Category:** Bugs & Issues\
**Created:** [November 27, 2023, 7:37am UTC](https://community.fibery.io/t/subscription-space-template-formula-missing-zero-padding/5452 "2023-11-27T07:37:15Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [November 27, 2023, 6:36pm UTC](https://community.fibery.io/t/subscription-space-template-formula-missing-zero-padding/5452/8 "2023-11-27T18:36:03Z")

</div>

Have a look at this thread:

> [@Add a number of months to a date](https://community.fibery.io/t/add-a-number-of-months-to-a-date/4695/5):
>
> Something like this should work Date( Year(CurrentDate) + RoundDown((Month(CurrentDate) + IntervalPeriod - 1) / 12, 0), Month(CurrentDate) + IntervalPeriod - 12 \* RoundDown((Month(CurrentDate) + IntervalPeriod - 1) / 12, 0), Least( Day( Date( Year(CurrentDate) + RoundDown((Month(CurrentDate) + IntervalPeriod - 1) / 12, 0), Month(CurrentDate) + IntervalPeriod + 1 - 12 \* RoundDown((Month(CurrentDate) + IntervalPer…

I hope you’ll be able to figure out from the current automations in the template, together with the code snippet in that topic how to do it.

---

_[View the full topic](https://community.fibery.io/t/subscription-space-template-formula-missing-zero-padding/5452)._
