Wijmo UI for the Web
startYear Option
wijmo.input.wijinputdate Namespace > options type : startYear Option

Default value: 1950

Determines how the control interprets a 2-digit year when it is entered in the year field when the smartInputMode option is set to true.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  number
    returnsValue = $(".selector").wijinputdate("option", "startYear");
    
    // Set value
    var newValue; // Type:  number
    $(".selector").wijinputdate("option", "startYear", newValue);
        
});
var startYear : number;
Remarks

Using the default value of 1950, if you set smartInputMode to true, when you enter a 2-digit year value which is greater than 50, for example: 88, the year displays as 1988.

When you enter a 2-digit year value which is less than 50, for example: 12, the year displays as 2012.

See Also

Reference

options type
wijinputdate jQuery Widget