Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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


Events.Alarm.SetURL - Events.Alarm.Type

💬 Ask a question or report a problem