{{tag>Function Function_List Date_And_Time}} ====== FULL_YEARS ====== ===== Description ===== Calculates the number of full years between the two dates as an integer constant. Full year difference between 31/12/2004 and 01/01/2005 is 0 ===== Syntax ===== ''FULL_YEARS (start, end)'' ===== Parameters ===== Two attributes of the Date type or date constants or calculations producing date ===== Returns ===== **Number**: the count of full years between the two dates. ===== Example ===== IF FULL_YEARS (Account.OpeningDate, Account.ClosingDate) = 5 THEN ... ===== Related ===== [[ref:a_f:f:af:year_difference|YEAR_DIFFERENCE]], [[ref:a_f:f:af:age|AGE]], [[ref:a_f:f:af:month_difference|MONTH_DIFFERENCE]], [[ref:a_f:f:af:day_difference|DAY_DIFFERENCE]]