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