ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Calendar 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
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".
Caution: <Result> corresponds to the first day of the month displayed in the calendar and not to the first day displayed in the calendar for the selected month (for November 2008, the first day displayed is Monday 27 October 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: 05/26/2022

Send a report | Local help