Changes

Calculate Age from Date of Birth

441 bytes added, 19:58, 25 September 2017
no edit summary
'''NoteTo display number of years and months between the current date and the date included in the function as a floating point you should create a [[Custom Field Type:''' Special – Calculated Value|Calculated Value Custom Field]] with the ''following expression: calage'' function actually calculates ([date of birth],1)  To display the number of full years and months between the current date and the date included in the function. as the string "X years and Y months" you should create a [[Custom Field Type: Special – Calculated Value|Calculated Value Custom Field]] with the following expression: calage([date of birth],2)  
[[Category:JavaScript]][[Category:Date Formats]]
Smartstaff, administrator
4,478
edits