FirstDayOfWeek Property

SQL-DMO

SQL-DMO

FirstDayOfWeek Property

The FirstDayOfWeek property returns the calendar start day of the week for a language record.

Applies To
Language Object
Syntax

object.FirstDayOfWeek

Part

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetFirstDayOfWeek(LPINT pRetVal);

Remarks

A Microsoft® SQL Server™ language record records the names of the days of the week localized to the language. To enable system selection of the correct day name, the day name string is stored so that the localized name for Monday appears first. For some locales, Monday is not the starting calendar week day.