Jaa


Calendar.NumberOfDaysInThisMonth Property

Definition

Gets the number of days in the current month of this Calendar object.

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.

Applies to

See also