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
Indicates whether a day is a bank holiday or not. The dates corresponding to the bank holidays are specified by BankHolidayAdd.
Versions 18 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 18
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Example
// Define the bank holidays
BankHolidayAdd("0714")
// Check a bank holiday
IF BankHoliday("19700714") = True THEN
Info(DateToString("19700714", maskDateSystem) + " is a bank holiday")
END
// Check a date found in an edit control
IF BankHoliday(EDT_Date) = True THEN
Info(DateToString(EDT_Date, maskDateSystem) + " is a bank holiday")
END
Syntax
<Result> = BankHoliday(<Date to check>)
<Result>: Boolean
  • True if the specified date corresponds to a bank holiday defined by BankHolidayAdd,
  • False otherwise.
A WLanguage error occurs if BankHolidayAdd was never used.
<Date to check>: Character string (with quotes)
Date to check in YYYYMMDD format.
Business / UI classification : Neutral code
Component : wd250obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment