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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  


Waits for the given number of milliseconds.

Component Version macOS Windows Linux Server iOS SDK
Time 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Time.Wait" )




Returns OK or error.


Waits for the given number of milliseconds.
You can use this to delay something on purpose. We loop and process events, so dialogs redraw and wait till time is over.
Pass 1000 for a one second delay.
This pauses execution of evaluation or a script.

To avoid you block yourself endlessly, we limit the range to 1 to 60000 microseconds = one minute maximum.

Time.Wait allows windows to draw, while Time.Sleep blocks all events for the delay.


Waits 5 milliseconds:

    t1 = Get(CurrentTimeUTCMilliseconds);
    r = MBS( "Time.Wait"; 5 );
    t2 = Get(CurrentTimeUTCMilliseconds)
]; t1 & ¶ & t2)

See also

Release notes

  • Version 11.2
    • Added Time.Wait function.

Blog Entries

Created 13th April 2021, last changed 13th April 2021

Time.UnixTimeStampToFileMaker - Toolbar.Install

Feedback: Report problem or ask question.

MBS FileMaker blog

Start Chat