Calendar.NumberOfMonthsInThisYear | numberOfMonthsInThisYear property

Expand Minimize
This topic has not yet been rated - Rate this topic

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

Windows.Globalization
Windows::Globalization [C++]

Metadata

Windows.winmd

See also

Calendar

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.