Skip to main content

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.

Syntax:  

age(timestamp, date_of_birth)

Can be an expression.

Return data type: numeric

Arguments:  

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 page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!