PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 public holiday or not. The dates corresponding to public holidays are specified by BankHolidayAdd.
Versions 15 and later
Java This function is now available for Java applications.
Android This function is now available for Android applications.
New in version 15
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
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 public holidays
BankHolidayAdd("0714")
// Check a public holiday
IF BankHoliday("19700714") = True THEN
Info(DateToString("19700714", maskDateSystem) + " is a public holiday")
END
// Check a date in an Edit control
IF BankHoliday(EDT_Date) = True THEN
Info(DateToString(EDT_Date, maskDateSystem) + " is a public holiday")
END
Syntax
<Result> = BankHoliday(<Date to check>)
<Result>: Boolean
  • True if the specified date corresponds to a public holiday defined by BankHolidayAdd,
  • False otherwise.
<Date to check>: Character string (with quotes) or Date variable
Date to check. If this date corresponds to a string, it must be in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD to the day).
Business / UI classification: Neutral code
Component: wd260obj.dll
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment