DateTimeOffset.DayOfYear Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the day of the year represented by the current DateTimeOffset object.

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

Syntax

Public ReadOnly Property DayOfYear As Integer
public int DayOfYear { get; }

Property Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

DateTimeOffset Structure

System Namespace