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.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?