Share via


DatePicker.maxYear property

Gets or sets the maximum Gregorian year available for picking.

Syntax

var maxYear = datePicker.maxYear;
datePicker.maxYear = maxYear;

Property value

Type: Number

The maximum Gregorian year available for picking.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.UI

See also

DatePicker