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

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

Example Databases

Blog Entries

This function is free to use.

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


Plugin.CallErrorScriptTrigger - Plugin.DisableFunction