Visual Basic Reference

FirstDayOfWeek Property

See Also    Example    Applies To

Sets or returns the day considered the first day of the week. Read/write both at design time and run time.

Syntax

object.FirstDayOfWeek [= value]

The FirstDayOfWeek property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value Optional enumerated Integer. A value that determines the day considered the first day of the week, as described in Settings.

Settings

The settings for value are:

Constant Setting Description
fmtDayUseSystem 0 Use NLS API setting.
fmtSunday 1 Sunday. This is the default value.
fmtMonday 2 Monday
fmtTuesday 3 Tuesday
fmtWednesday 4 Wednesday
fmtThursday 5 Thursday
fmtFriday 6 Friday
fmtSaturday 7 Saturday

Remarks

This property is only used when formatting dates. For faster performance set this property before binding.