Documentation Home Scripting Reference License Class License.LicenseExpiry License.LicenseExpiry Returns the expiry date of this Statelake license. Declaration: property LicenseExpiry: TDateTimeAn example of the use. procedure OnMapEvent(var Value:Variant); begin //The expiry date of the license Value := License.LicenseExpiry; end; Or you can try this stand-alone code in a custom script. procedure ScriptEvent(var Value:Variant); var WhatDate : TDateTime; begin WhatDate := License.LicenseExpiry; LogInfo('The License expiry date is ' +FormatDateTime('dd/mm/yyyy', WhatDate)); LogInfo(''); end; License.LicenseId License.LicenseName