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 list of all public holidays defined by BankHolidayAdd.
Example
// Delete all public holidays
BankHolidayDeleteAll()
// Initialize the 11 public holidays common to the French regions and territories
BankHolidayAdd("0101")          // 1st of January
BankHolidayAdd(bhEasterMonday) // Easter Monday
BankHolidayAdd("0501")          // 1st of May
BankHolidayAdd("0508")          // 8th of May
BankHolidayAdd(bhAscensionDay) // Ascension day
BankHolidayAdd(bhWhitMonday) // Whit Monday
BankHolidayAdd("0714")          // 14th of July
BankHolidayAdd("0815")          // 15th of August (Assumption)
BankHolidayAdd("1101")          // All Saints' Day
BankHolidayAdd("1111")          // 11th of November
BankHolidayAdd("1225")          // Christmas
 
// Display the trace
Trace(BankHolidayList())
Syntax
<Result> = BankHolidayList()
<Result>: Character string
List of public holidays separated by CR characters (Carriage Return). The public holidays are in the format used by BankHolidayAdd.
Remark: the different constants are replaced by their equivalent:
bhAscensionDay@2
bhEasterDay@1
bhEasterMonday@5
bhGoodFriday@4
bhWhitMonday@3
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
Business / UI classification: Neutral code
Component: wd300obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help