calisworkday() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

calisworkday( datetime, calendar_name )

This returns whether or not the given Date and Time is a work day, according to the calendar defined for the system.

Parameters

Keyword Type Description

datetime

Date and Time

The Date and Time to test.

calendar_name

Text

This optional parameter accepts the name of a system calendar; otherwise, the default calendar is used.

Returns

Boolean

Usage considerations

Passing a calendar name allows you to validate working days using an alternate system calendar, if you have multiple calendars configured.

See also: Process Calendar Settings

Examples

calisworkday(datetime(2011,12,13,20,0,0),"Second") returns true

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Incompatible
Offline Mobile Incompatible
Custom Record Field Expressions Compatible
Open in Github Built: Thu, Aug 18, 2022 (08:23:12 AM)

On This Page

FEEDBACK