Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Returns the date the plug-in was compiled.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Plugin | 1.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
none
The date as text.
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
This function is free to use.
Created 18th August 2014, last changed 26th January 2023