Share via


DayOfYear Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the day of the year represented by this instance.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property DayOfYear As Integer
public int DayOfYear { get; }
public:
property int DayOfYear {
    int get ();
}
member DayOfYear : int with get
function get DayOfYear () : int

Property Value

Type: System. . :: . .Int32
The day of the year, expressed as a value between 1 and 366.

.NET Framework Security

See Also

Reference

DateTime Structure

System Namespace