Windows Dev Center

DateTime.DayOfYear Property

Gets the day of the year represented by this instance.

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

public int DayOfYear { get; }

Property Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2015 Microsoft