Sets or retrieves the current year for the calendar behavior.
Syntax
XML <Prefix:CustomTag ID = sID STYLE="behavior:url('calendar.htc')" YEAR = iYear .../> Scripting [ iYear = ] oCalendar.year
Possible Values
Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag. CustomTag User-defined tag. sID String that uniquely identifies the object. iYear Integer specifying the year. The property is read/write with a default value of the current year, set by the computer clock.
Remarks
The year property is available only to objects participating in the calendar behavior.
Applies To
calendar