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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CompileDate

Returns the date the plug-in was compiled.

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

Parameters

none

Result

The date as text.

Description

Returns the date the plug-in was compiled.
Useful for determining if when the currently installed plug-in was released.
See Plugin.CompileDate to get a FileMaker date instead of a text.

Format of this text is "mmm DD YYYY" with month as three letter text in English.

Examples

Get the Compile Date and Time:

$r = MBS("CompileDate") & " " & MBS("CompileTime")

Get year:

GetAsNumber(Middle(MBS( "CompileDate" );7;6))

Remind to update plugin:

If [ GetAsNumber(Middle(MBS( "CompileDate" );7;6)) < Year ( Get(CurrentDate )) and Month ( Get(CurrentDate )) > 3 ]
    Show Custom Dialog [ "Your MBS Plugin could be updated”. ; "It's spring and you use plugin from last year?" ]
End If

See also

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 26th January 2023


ColorPanel.Show - CompileTime

💬 Ask a question or report a problem