DayNames
The format defined replaces the weekday names convention set by your regional settings.
Syntax:
DayNames
When modifying the variable, a semicolon ; is required to separate the individual values.
Function example | Result definition |
---|---|
Set DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun'; | This use of the DayNames function defines day names in their abbreviated form. |
Set DayNames='M;Tu;W;Th;F;Sa;Su'; | This use of the DayNames function defines day names by their first letters. |
The DayNames function is often used in combination with the following functions:
Function | Interaction |
---|---|
weekday - script and chart function | Script function to return DayNames as field values . |
Date - script and chart function | Script function to return DayNames as field values. |
LongDayNames | Long form values of DayNames. |
Regional settings
Unless otherwise specified, the examples in this topic use the following date format: MM/DD/YYYY. The date format is specified in the SET DateFormat statement in your data load script. The default date formatting may be different in your system, due to your regional settings and other factors. You can change the formats in the examples below to suit your requirements. Or you can change the formats in your load script to match these examples. For more information, see Modifying regional settings for apps and scripts.
Default regional settings in apps are based on the user profile. These regional format settings are not related to the language displayed in the Qlik Cloud user interface. Qlik Cloud will be displayed in the same language as the browser you are using.
If you are an app creator, you can set the default region for apps you create. For more information, see Setting your preferred regional settings for creating apps and scripts in Qlik Cloud Analytics.