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

Plugin.CompileDate

Queries compile date as FileMaker date.

Component Version macOS Windows Linux Server iOS SDK
Plugin 10.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Plugin.CompileDate" )

Parameters

none

Result

Returns date or error.

Description

Queries compile date as FileMaker date.
Allows you to compare current time to compile date to check how old the plugin is.
See also CompileDate and CompileTime.

Examples

Check age of plugin:

get(CurrentDate) - MBS( "Plugin.CompileDate" )

Check and ask user to install newer version than the prerelease they have:

If [ MBS("Plugin.IsPrerelease") ]
    If [ Get(CurrentDate) - MBS( "Plugin.CompileDate" ) >= 14 ]
        Show Custom Dialog [ "Update" ; "Please install newer version of MBS Plugin." & ¶ & MBS("Version") ]
    End If
End If

See also

Release notes

Blog Entries

Created 24th December 2019, last changed 3th June 2020


Plugin.CallErrorScriptTrigger - Plugin.DisableFunction

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat