Lire en anglais Modifier

Partager 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

Produit Versions
.NET 6, 7, 8, 9, 10