Gets the number of months in the current year of this Calendar object.
Syntax
var numberOfMonthsInThisYear = calendar.numberOfMonthsInThisYear;
Property value
Type: Number [JavaScript] | System.Int32 [.NET] | int32 [C++]
The number of months in the current year, or –1 if the number of months in the current year is unknown.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012