GetUsageDaysLeft

Top  Previous  Next

 

GetUsageDaysLeft

 

Syntax

GetUsageDaysLeft([out] DaysLeftVar);

 

Description

To get the number of days left in a trial period. This FSCommand is only available when you enable an expiration settings at Settings tab - Registration sub category.

 

Parameters

       DaysLeftVar

               The name of the variable to receive the number of days left before expired

 

Return

       1 = success

       0 = failed

       -1 = FSCommands cannot be found

 

Example

 

FSCommand("GetDaysLeft", "DaysLeftVar");