Plugin.IsMaintenanceExpired
---------------------------

Queries whether maintenance is expired.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [13.1](newinversion131.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Plugin.IsMaintenanceExpired" ) ### Parameters

none

### Result

Returns 1 or 0.

### Description

Queries whether maintenance is expired.  
This basically compares the end date for the license key to today’s day.  
### Examples

Check it:

 Set Variable \[$expired ; Value: mbs ("Plugin.IsMaintenanceExpired") \]  
Remind to update plugin:

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

- [CompileDate](CompileDate.md)
- [Register](Register.md)

### Release notes

- **Version 13.1**
    - Added [Plugin.IsMaintenanceExpired](https://www.mbsplugins.eu/PluginIsMaintenanceExpired.shtml) function.

### Blog Entries

- [New in MBS FileMaker Plugin 13.1](https://www.mbsplugins.de/archive/2023-03-15/New_in_MBS_FileMaker_Plugin_13/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 13.1pr1](https://www.mbsplugins.de/archive/2023-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 26th January 2023 , last changed 26th January 2023

  
[Plugin.IsLicenseKeyHidden](PluginIsLicenseKeyHidden.md) - [Plugin.IsPrerelease](PluginIsPrerelease.md)

[HTML Version](PluginIsMaintenanceExpired.shtml)