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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    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

This function is free to use.

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


Plugin.CallErrorScriptTrigger - Plugin.DisableFunction

💬 Ask a question or report a problem