0
edits
Changes
no edit summary
There is a system function called '''calage''' which can be used to calculate a current age when given the Date of Birth:
To display a current age you should create a [[Custom Field Type: Special – Calculated Value|Calculated Value Custom Field]] with the following
calage([date of birth])
'''Note:''' the ''calage'' function actually calculates the number of full years between the current date and the date included in the function.
[[Category:JavaScript Examples]]
To display a current age you should create a [[Custom Field Type: Special – Calculated Value|Calculated Value Custom Field]] with the following
calage([date of birth])
'''Note:''' the ''calage'' function actually calculates the number of full years between the current date and the date included in the function.
[[Category:JavaScript Examples]]