Version

DayOfYear Property

Gets/sets the day of the year. Valid range of values are 1 to 366 and -366 to -1.
Syntax
'Declaration
 
Public Property DayOfYear As Integer
public int DayOfYear {get; set;}
Remarks

DayOfYear identifies the day of the year. Valid values are 1 to 366 and -366 to -1. A negative value indicates the n'th day to the end of the year where 'n' is the absolute value of the negative value. For example, -1 specifies the last day of the year. Likewise -10 specifies the 10th day to the last day the year.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also