Visual Basic: Windows Controls

Week Property

See Also   Example   Applies To

Returns or sets a value that specifies the current week number.

Syntax

object.Week [= number]

The Week property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A numeric expression that evaluates to an integer indicating the week number.

Remarks

The Week property can be set to any integer from 1 to 52.