Returns the expiry date of this Statelake license. 

Declaration: property LicenseExpiry: TDateTime

An 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;