NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calendar.GetDayOfYear

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;

Parameters

time
The DateTime instance.

Return Value

The 1-based day-of-year part of the time.

Remarks

The returned value is an integer between 1 and 366[RB15] .

See Also

Calendar Class | Calendar Members | System.Globalization Namespace