ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
CalendarPosition (Function)
In french: CalendrierPosition
Returns the month displayed in a Calendar control.
Example
// Displays the calendar month in letters
Info("The month displayed in the Calendar control is: " + ...
	DateToMonthInAlpha(CalendarPosition(CAL_Calendar1)))
Syntax
<Result> = CalendarPosition(<Calendar control>)
<Result>: Character string or Date variable
First day of month displayed. This parameter has the following format: "YYYYMM01". For example, if the month displayed is November 2008, <Result> will be equal to "20081101".
Attention: <Result> corresponds to the first day of the month displayed in the calendar, and not the first day shown in the calendar for the selected month (for the month of November 2008, the first day displayed is Monday, October 27, 2008).
<Calendar control>: Control name
Name of Calendar control used.
Component: wd300obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/16/2025

Send a report | Local help