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.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

Plugin.CompileDate

Queries compile date as FileMaker date.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Plugin 10.0 Yes Yes Yes Yes Yes
MBS( "Plugin.CompileDate" )   More

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

Blog Entries

Release notes

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


Plugin.CallErrorScriptTrigger   -   Plugin.DisableFunction

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos