ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the name of the month that corresponds to a specified date.
Example
MaDate is Date = DateSys()
SAI_Date = MaDate.ToDayInAlpha() + " " + MaDate.Day + ...
	" " + MaDate.ToMonthInAlpha() + " à " + ...
	TimeToString(TimeSys(), "HH:MM:SS")
// Le champ SAI_Date contient par exemple : Lundi 13 Août à 14:44:17
Syntax
<Result> = <Date>.ToMonthInAlpha()
<Result>: Character string
Month corresponding to the specified date: January, February, March, April, May, June, July, August, September, October, November, December.
Note The month returned depends on the language options specified for dates in the "Languages" tab of the project description (in the "Project" pane, in the "Project" group, click on "Description"):
  • If the project uses the language options of Windows for the dates, the month will be returned in the language of Windows.
  • If the project uses specific parameters for the dates (for one or more languages), the month returned will correspond to the one specified in the project description.
<Date>: Date variable or DateTime variable
Date to use. This date can correspond to:
  • a Date variable.
  • a DateTime variable. In this case, only the date is taken into account.
Remarks
The date storage format allows you to store dates from 01/01/0001 to 12/31/9999.
WLanguage functions and WLanguage properties make accurate calculations on dates from January 1st, 1583.
Component: wd300std.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/26/2024

Send a report | Local help