Calendar
4 posts tagged with "Calendar"
if-is-closed
function
The if-is-closed action Checks if your business is currently closed based on schedule. It belongs to the calendar category within the interaction area.
Action Syntax
if-is-closed [file]
A file reference
Return Value
This function returns a
BOOLEAN
value that can be stored in a variable:
$result = if-is-closed
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$boolean = if-is-closed [blockname]
Action code: 2568884983
Version: 0.6.4-2
Last updated: 2025-06-13
if-is-open
function
The if-is-open action Checks if your business is currently open based on schedule. It belongs to the calendar category within the interaction area.
Action Syntax
if-is-open [file]
A file reference
Return Value
This function returns a
BOOLEAN
value that can be stored in a variable:
$result = if-is-open
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$boolean = if-is-open [blockname]
Action code: 2533777462
Version: 0.6.4-10
Last updated: 2025-06-13
schedule
The schedule action Creates and manages business schedules with hours and dates. It belongs to the calendar category within the interaction area.
Action Syntax
schedule "text"
A quoted text string
schedule 123 HH:MM HH:MM
A numeric value followed by A time in HH:MM format followed by A time in HH:MM format
schedule 123 HH:MM HH:MM "text"
A numeric value followed by A time in HH:MM format followed by A time in HH:MM format followed by A quoted text string
schedule 123 HH:MM "text"
A numeric value followed by A time in HH:MM format followed by A quoted text string
schedule YYYY-MM-DD "text"
A date in YYYY-MM-DD format followed by A quoted text string
schedule YYYY-MM-DD YYYY-MM-DD "text"
A date in YYYY-MM-DD format followed by A date in YYYY-MM-DD format followed by A quoted text string
Valid sizes
tiny
small
medium
large
extra
Tags
closed
sets date as closed
set-active-schedule
function
The set-active-schedule action Switches to a different schedule by name. It belongs to the calendar category within the interaction area.
Action Syntax
set-active-schedule "text"
A quoted text string
Return Value
This function returns a
TEXT
value that can be stored in a variable:
$result = set-active-schedule
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$text = set-active-schedule "My Schedule"
Action code: 2388346415
Version: 0.6.4-1
Last updated: 2025-06-13