ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the name of the day of the week according to its number.
Example
sWarning = "The office is closed on " + DayNumberInAlpha(2)
// Displays "The office is closed on Tuesday"
Syntax
<Result> = DayNumberInAlpha(<Day number>)
<Result>: Character string
Name of the day of the week that corresponds to the specified number: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.
<Day number>: Integer
Number of the day of the week between 1 and 7 (1 corresponds to Monday and 7 corresponds to Sunday).
Remarks
The names of the day of the week depend on:
  • the current language (defined by Nation),
  • the custom day names specified in the project characteristics ("Language" tab of the project description window).
    Reminder: To open the project description, go to the "Project" tab, "Project" group and click "Description".
  • the Windows regional settings defined for the current language.
Business / UI classification: Neutral code
Component: wd290std.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help