The first day of the week for a given locale.

DayOfWeek = SRP_Date("FirstDayOfWeek", Locale = "")

Returns

An integer between 1 and 7, 1 = Monday, 7 = Sunday.

Parameters

ParameterDescription
LocaleA locale for culture specific names. (OPTIONAL)

Remarks

The "FirstDayOfWeek" service retrieves a culture's first day of the week. The result will be an integer between 1 and 7, with 1 being Monday and 7 being Sunday. Locale is the locale name used to target a specific culture to determine what that culture's first day of the week is.

Here is a sample of possible return values based on different locales.

en-USes-MXes-ESfr-CAfr-FR
77171

Examples

// Get the first day of the week for the local culture
DayOfWeek = SRP_Date("FirstDayOfWeek")

// Get the first day of the week in Spain
DayOfWeek = SRP_Date("DayOfWeekName", "es-ES")
  • No labels