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