Läs på engelska Redigera

Dela via


DateOnly.Month Property

Definition

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

C#
public int Month { get; }

Property Value

A number that represents the month component of the date.

Applies to

Produkt Versioner
.NET 6, 7, 8, 9, 10