Calculate with local date

This sample code shows how to use the user's local date to do calculations.
In this specific example, the local date is used to calculated an age from a field containing the Birth date.

Sample Image


Sample Code


Make sure to match the Field code of your fields, with the Field code written in the code.
Note that the age is only calculated when a record is saved.


Refer to the Tutorial page, on how to add scripts to your app.

Was this article helpful?
0 out of 0 found this helpful
Do you have any questions or issues related to this article?
Please share your views with us in the Community forums!