Sometimes it is necessary to schedule an automatic callback after a certain time. In this article, we will describe in detail how to set up such a chime using the DLL function.
Go to the section Bot Scripts personal account.
Create a new script or select the desired one from the previously created ones.
Add a block to the script The expression.
Enter the function:
$date = dt.add(@now, 3600)
The dt.add function is used to add a certain number of time units to a specified date and time. The time is set in seconds. For example, if you need to add an hour, you need to enter the number 3600, if 3 hours — 10800, etc.
From the block Expression swipe the arrow into the block Result and set the following parameters:
{date}, which is the result of all actions.Save the script.