CAS 6


makebusinessdayfederal
- Date

Summary

Return the current or first US federal business day.

Description

Return the current or first US federal business day.

Optional left argument specifies if the next (default) or previous business day should be returned.

If the current date is already a business day, nothing changes.

Examples

makebusinessdayfederal 20211225
0 makebusinessdayfederal 20211225
makebusinessdayfederal 20210601

Syntax

{NextOrPrev} makebusinessdayfederal Date

Left Arguments

Name Data Type Input Type Description Optional Default
NextOrPrev Boolean Field, Constant CCYYMMDD Yes

Right Arguments

Name Data Type Input Type Description Optional Default
Date Date Field, Constant CCYYMMDD No

Result

Type: Date

US Federal business day.



Build 6.0.1063