Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Delays execution for the given number of milliseconds.

Component Version macOS Windows Linux Server iOS SDK
Utility 4.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Time.Sleep"; duration )   More


Parameter Description Example
duration Number of milliseconds to wait. 10


Returns OK or error.


Delays execution for the given number of milliseconds.
You can use this to delay something on purpose. The while FileMaker Pro app is locked for the given time.
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.


Pause 5 milliseconds:

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

Example result:

See also

Release notes

  • Version 11.1

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 13th April 2021

Time.Parse - Time.TimeStampToUTC