CALC.year(date)

Return the year part of the given date.

Example

CALC.year(new Date(2005,11,1));

// returns 2005

<< CALC.workday(date, days, [Holiday_array]) © 1996-2013 InetSoft Technology Corporation (v11.4) CALC.yearfrac(date1, date2, [basis]) >>