Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.Alarm.TriggerDateRelativeTo
Calculates the next alarm time.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.Alarm.TriggerDateRelativeTo"; EKAlarm { ; Timestamp } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
EKAlarm | The reference to the alarm. | $Alarm | |
Timestamp | The timestamp to use for finding next trigger time. Default is now. |
Get(CurrentHostTimeStamp) | Optional |
Result
Returns OK or error.
Description
Calculates the next alarm time.You can pass a timestamp to calculate relative to it.
Examples
Query next alarm time:
MBS( "Events.Alarm.TriggerDateRelativeTo"; "56004"; Get(CurrentHostTimeStamp) )
See also
This function checks for a license.
Created 10th March 2016, last changed 10th March 2016