Selerix Developer Tools
CalcAge(DateTime,DateTime) Method






Selerix.BusinessObjects Assembly > Selerix.BusinessObjects Namespace > Applicant Class > CalcAge Method : CalcAge(DateTime,DateTime) Method
The birth date.
As of date.
Calculates the applicant's age.
Syntax
'Declaration
 
Public Overloads Shared Function CalcAge( _
   ByVal birthDate As Date, _
   ByVal asOfDate As Date _
) As Integer
'Usage
 
Dim birthDate As Date
Dim asOfDate As Date
Dim value As Integer
 
value = Applicant.CalcAge(birthDate, asOfDate)
public static int CalcAge( 
   DateTime birthDate,
   DateTime asOfDate
)
public function CalcAge( 
    birthDate: DateTime;
    asOfDate: DateTime
): Integer; static; 
public static function CalcAge( 
   birthDate : DateTime,
   asOfDate : DateTime
) : int;
public: static int CalcAge( 
   DateTime birthDate,
   DateTime asOfDate
) 
public:
static int CalcAge( 
   DateTime birthDate,
   DateTime asOfDate
) 

Parameters

birthDate
The birth date.
asOfDate
As of date.

Return Value

age
See Also

Reference

Applicant Class
Applicant Members
Overload List