Export (0) Print
Expand All

DateTime.DayOfYear Property

Gets the day of the year represented by this instance.

[Visual Basic]
Public ReadOnly Property DayOfYear As Integer
[C#]
public int DayOfYear {get;}
[C++]
public: __property int get_DayOfYear();
[JScript]
public function get DayOfYear() : int;

Property Value

The day of the year, between 1 and 366.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

DateTime Structure | DateTime Members | System Namespace

Show:
© 2015 Microsoft