Add Months
This post is referring to Vahana 2 (beta version). To check the document for production, please go to vDesigner-v1.0
This function adds a specific number of months (for example, 5) to a timeline with the dd/mm/yy or dd/mm/yyyy formats. For instance, assume you want to add 5 months to the 05/03/24 (5 March, 2024) date. After you use the ADDMONTHS() function to add 5 months to the 05/03/24 date, it performs the addition and then returns the 05/08/24 (5 August, 2024) date.
You can use the ADDMONTHS function as follows:
To use the ADDMONTHS function:
- Click in the smart selector to display the Search box.
- In the Search box, enter addmonths to display the ADDMONTHS function.
- In the list, select the ADDMONTHS function to display it with the date, format, and months parameters.
- In the ADDMONTHS function, click Date to display the Search box.
- In the Search box, enter static to display the Static function.
- In the list, select the Static function to display it with the value and the String parameters.
- In the Static function, click the value parameter and then enter a date (for example, 05/03/24 or 05/03/2024) in dd/mm/yy or dd/mm/yyyy format.
Note:- If you do not want to enter the date manually by using the Static function, you can fetch the value of the date from an element or entity. To know more about defining the value in entity, click here and then access the heading section: Sample JSON Structure with Key/Value Pair.
- In the ADDMONTHS function, click the format parameter and then enter dd/mm/yy in the place of the format parameter.
- In the ADDMONTHS function, click the months parameter to display the Search box.
- In the Search box, enter static to display the Static function.
- In the list, select the Static function to display it with the value and the Integer parameters.
- In the Static function, click the value parameter and then enter a value (for example, 5) that you want to add to the earlier defined date (05/03/24).
Was this article helpful?
YesNo