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
CalendarPicker (Function)
In french: CalendrierSélecteur
Opens a modal dialog with a calendar to enter a date. A window allows the user to select a date in a calendar. This function requires no Date edit control and no Calendar control.
Example
ResultDate is string
ResultDate = CalendarPicker()
ResultDate is string
ResultDate = CalendarPicker("20090101", "Choose a date:")
Syntax
<Result> = CalendarPicker([<Initial date> [, <Window title>]])
<Result>: Character string or Date variable
  • Date selected by the user in YYYYMMDD format,
  • Empty string ("") if the window was closed by the user via the "X" button.
<Initial date>: Optional character string or Date variable
Date displayed by default in the calendar (in YYYYMMDD format).
The date of the day is selected by default if this parameter is not specified or if it corresponds to an empty string ("").
<Window title>: Optional character string
Title displayed in the title bar of the window for selecting the date.
Related Examples:
The Calendar control Unit examples (WINDEV): The Calendar control
[ + ] Four methods for using the Calendar control:
- Using the Calendar control found in the WINDEV toolbar
- Using CalendarOpen and CalendarPicker as well as CalendarSelect (multi-selection)
- Using ..CalendarButton
- Using BankHolidayAdd
Component: wd290obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help