Calendar.NumberOfDaysInThisMonth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property int NumberOfDaysInThisMonth { int get(); };
int NumberOfDaysInThisMonth();
public int NumberOfDaysInThisMonth { get; }
var int32 = calendar.numberOfDaysInThisMonth;
Public ReadOnly Property NumberOfDaysInThisMonth As Integer
Property Value
Int32
int
The number of days in the current month, or – 1 if the number of days in the current month is unknown.