DateOnly.Month Property

Definition

Gets the month component of the date represented by this instance.

public:
 property int Month { int get(); };
public int Month { get; }
member this.Month : int
Public ReadOnly Property Month As Integer

Property Value

A number that represents the month component of the date.

Applies to