PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of all the bank holidays defined by BankHolidayAdd.
Example
// Delete all bank holidays
BankHolidayDeleteAll()
// Initialize the 11 bank holidays common to the French regions and to the French 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 bank holidays separated by CR characters (Carriage Return). The format of the bank holidays is the format used by BankHolidayAdd.
Remark: the different constants are replaced by their equivalent:
bhAscensionDay@2
bhEasterDay@1
bhEasterMonday@5
bhWhitMonday@3
bhGoodFriday@4
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 : wd250obj.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment