What is the usage of Calculate Function in vDesigner1.0

What is the usage of Calculate Function and how to implement in vDesigner1.0 ?

1 Like

Calculate function is used to get the difference between two dates. You can define the return type in third parameters as you want the difference in Days, Months or Years.
Ex: First Date: 16-10-2022 , Second Date: 16-10-2023

Difference will be 1 if you enter the return type as Year, For Month it will be 12 and for Days it will be 365.
Syntax: CALCULATE(FIRST_DATE,SECOND_DATE, RETURN_TYPE)

4 Likes