Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DateOnly.DayNumber Property

Definition

Namespace:
System
Assembly:
System.Runtime.dll
Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs
Source:
DateOnly.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?