Version

DayOfYear Property

Gets/sets the day of the year. Valid range of values are 1 to 366 and -366 to -1.
Syntax
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: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also