Age

GetYears

Description

Returns the value of an Age Object in years. If the type is "stillborn", "infant" or "child", the value returned will be -1.

Syntax

iYears = ag:GetYears()

Parameters

None

Return Value

iYears
Integer: years