GoFiler Legato Script Reference
Legato v 1.5e Application v 5.25b
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The IsBusinessDay function tests the specified date for being a normal business day (Monday through Friday) and not being a Federal Holiday.
Syntax/Parameters
Syntax
boolean = IsBusinessDay ( string date | qword date );
Parameters
date
A string or qword value as a well formatted date siting or a date-time value, respectively.
Return Value
Returns a boolean as TRUE, FALSE or -1. On failure, function returns -1. Use GetLastError or IsError to determine if an error occurred or if daylight savings time is not supported.
Remarks
The function tests the specified date for being a normal business day (Monday through Friday) and not being a Federal Holiday.
Since string date interpretation is automatic (SD_AMERICAN), use caution with ambiguous formats. For example, January 12, 2025 is represented is ISO-8601 “2025-01-12” but “2025-12-01” is also a valid date. The function will pick ISO-8601 if the value is ambiguous. See StringToDate for additional information.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato Basic
Page revised 2025-01-21
Table of Contents | < < Previous | Next >> |
© 2012-2025 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. Novaworks, GoFiler™ and Legato™ are registered trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.