Returns the day-of-year part of the specified DateTime.
[Visual Basic] MustOverride Public Function GetDayOfYear( _ ByVal time As DateTime _ ) As Integer [C#] public abstract int GetDayOfYear( DateTime time ); [C++] public: virtual int GetDayOfYear( DateTime time ) = 0; [JScript] public abstract function GetDayOfYear( time : DateTime ) : int;
The 1-based day-of-year part of the time.
The returned value is an integer between 1 and 366[RB15] .
Calendar Class | Calendar Members | System.Globalization Namespace