DateTimeOffset.DayOfYear 属性
定义
获取由当前 DateTimeOffset 对象所表示的年中的某一天。Gets the day of the year represented by the current DateTimeOffset object.
public:
property int DayOfYear { int get(); };
public int DayOfYear { get; }
member this.DayOfYear : int
Public ReadOnly Property DayOfYear As Integer
属性值
当前 DateTimeOffset 对象的年中的某一天,以 1 到 366 之间的一个值来表示。The day of the year of the current DateTimeOffset object, expressed as a value between 1 and 366.