age
Returns the number of full years elapsed between the birth date supplied as argument and now.
Languages
Built-in, C++, C#, Java.
Parameters
Name | Type | Description |
---|---|---|
birthdate | xs:date | Mandatory. Provides the birth date as an xs:date value. |
now | xs:date | Optional parameter. The default is the current system date. If a value is mapped to the now argument, the function returns the difference between the birth date and now, in full years. |