PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 15 and later
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
New in version 15
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
WINDEVJava This function is now available for the Java applications.
Android This function is now available for the Android applications.
Versions 16 and later
Universal Windows 10 App This function is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This function is now available for the Windows Phone applications.
Universal Windows 10 App This function is now available for the Windows Phone applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 18
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for the iPhone/iPad applications.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Define the bank holidays
BankHolidayAdd("0714")
// Check a bank holiday
IF BankHoliday("19700714") = True THEN
Info(DateToString("19700714", maskSystemDate) + " is a bank holiday")
END
// Check a date found in an edit control
IF BankHoliday(EDT_Date) = True THEN
Info(DateToString(EDT_Date, maskSystemDate) + " 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.
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment