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 month according to its number.
Example
sWarning = "The office is closed in " + MonthNumberInAlpha(2)
// Displays "The office is closed in February"
Syntax
<Result> = MonthNumberInAlpha(<Month number>)
<Result>: Character string
Name of the month corresponding to the specified number: January, February, March, April, May, June, July, August, September, October, November, December.
<Month number>: Integer
Number of the month between 1 and 12 (1 corresponds to January and 12 corresponds to December).
Remarks
The names of the months depend on:
  • the current language (defined by Nation),
  • the custom month 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
Video MonthNumberInAlpha
https://youtu.be/cxZ4HoNpQuE

https://windevdesenvolvimento.blogspot.com/2019/06/dicas-2162-windev-webdev-mobile-datas.html

// EDT_DATA
dAta_mostrar is Date=EDT_DATA
STC_MES="Curitiba , "
STC_MES+=dAta_mostrar..Day+" De "
STC_MES+=MonthNumberInAlpha(dAta_mostrar..Month)+" De "
STC_MES+=dAta_mostrar..Year
amarildo
19 Jun. 2019

Last update: 05/26/2022

Send a report | Local help