Click to return to the DHTML, HTML     
VALUEISNULL Attribute | v...     calendar Behavior    
Web Workshop  |  DHTML, HTML & CSS

YEAR Attribute | year Property


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.
iYearInteger 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
calendar


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.