{{tag>Function Function_List Date_And_Time}} ====== AGE ====== ===== Description ===== Returns the full year difference between the provided date and the current date ===== Syntax ===== ''AGE (date)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute of the Date type or date constant or calculation producing date ===== Returns ===== **Number**: the number of full years between the given date and the current date ===== Example ===== IF Age (Account.Customer.DateOfBirth) > 70 Then... ===== Related ===== [[ref:a_f:f:af:full_years|FULL_YEARS]], [[ref:a_f:f:af:year_difference|YEAR_DIFFERENCE]], [[ref:a_f:f:af:current_date|CURRENT_DATE]]