calisworktime() Function

This returns whether or not the given Date and Time is within working hours, according to the calendars defined for the system.

Syntax

calisworktime( datetime, [calendar name] )

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

Notes

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

See also: Process Calendar Settings

Examples

calisworktime(datetime(2011,12,13,20,0,0)) returns false

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK