age - script and chart function

The age function returns the age at the time of timestamp (in completed years) of somebody born on date_of_birth.


age(timestamp, date_of_birth)

Can be an expression.

Return data type: numeric


Argument Description
timestamp The timestamp,or expression resolving to a timestamp, up to which to calculate the completed number of years.
date_of_birth Date of birth of the person whose age is being calculated. Can be an expression.