ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Date and time functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the list of all public holidays defined by BankHolidayAdd.
Example
// Suppression de tous les jours fériés
BankHolidayDeleteAll()
// Initialisation des 11 jours fériés communs aux départements français et DOM/TOM
BankHolidayAdd("0101")          // 1er Janvier
BankHolidayAdd(bhEasterMonday) // Lundi de Pâques
BankHolidayAdd("0501")          // 1er Mai
BankHolidayAdd("0508")          // 8 Mai
BankHolidayAdd(bhAscensionDay) // Jeudi de l'Ascension
BankHolidayAdd(bhWhitMonday) // Lundi de Pentecôte
BankHolidayAdd("0714")          // 14 Juillet
BankHolidayAdd("0815")          // 15 Août (Assomption)
BankHolidayAdd("1101")          // Toussaint
BankHolidayAdd("1111")          // 11 Novembre
BankHolidayAdd("1225")          // Noël

// Affichage de la 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.
Note: the various 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: 09/19/2024

Send a report | Local help