---
url: /flow/guide/scripting-reference/classes/license/license.licenseexpiry.md
---

# License.LicenseExpiry

## Declaration

`property LicenseExpiry: string`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := License.LicenseExpiry; //the name of the file that is the source of the map
end;
```

## Description

Returns the expiry date of this license. If the license is perpetual then this is the expiry date of maintenance upgrades.
