Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Events.Alarm.TriggerDateRelativeTo

Calculates the next alarm time.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.Alarm.TriggerDateRelativeTo"; EKAlarm { ; Timestamp } )

Parameters

Parameter Description Example value
EKAlarm The reference to the alarm. $Alarm
Timestamp Optional
The timestamp to use for finding next trigger time.
Default is now.
Get(CurrentHostTimeStamp)

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


Events.Alarm.SetURL   -   Events.Alarm.Type

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins