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