Bewerken

Share via


DateOnly.DayNumber Property

Definition

Gets the number of days since January 1, 0001 in the Proleptic Gregorian calendar represented by this instance.

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

Property Value

The number of days since January 1, 0001 in the Proleptic Gregorian calendar represented by this instance.

Applies to