Export (0) Print
Expand All
Expand Minimize

Constants.vbSunday Field

Indicates the first day of the week to use when calling date-related functions.

Namespace: Microsoft.VisualBasic
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public const FirstDayOfWeek vbSunday
public static final FirstDayOfWeek vbSunday
public const var vbSunday : FirstDayOfWeek
Not applicable.

For more detailed information, see the Visual Basic topic FirstDayOfWeek Enumeration.

When you call date-related functions, you can use the following enumeration members in your code in place of the actual values.

Some date-related functions take a DayOfWeek argument, a WeekOfYear argument, or both. The FirstDayOfWeek enumeration specifies the valid values for the DayOfWeek arguments, as well as the possible return values from the functions.

The DayOfWeek argument takes the FirstDayOfWeek enumeration members.

Date-related functions also return FirstDayOfWeek values (except System).

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft