Any questions? Ask us:




EP_TrialDateTillDate function serves for retrieving start and end trial dates. Trial dates should be defined on the TRIAL CONTROL - Limitation from date till date panel. See also the extended functions EP_TrialDateTillDateStartEx and EP_TrialDateTillDateEndEx.


  • StartYear - the year of the start trial date.
  • StartMonth - the month of the start trial date.
  • StartDay - the day of the start trial date.
  • EndYear - the year of the end trial date.
  • EndMonth - the month of the end trial date.
  • EndDay - the day of the end trial date.

Return Value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.


The function fails in the following cases:

  • the limitation of the expiration date was not enabled;
  • the application is not protected.

If the user's PC has several user accounts, the trial information will different for each user.


Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_TrialDateTillDate( int* StartYear, int* StartMonth, int* StartDay, int* EndYear, int* EndMonth, int* EndDay );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder, Examples\Trial subfolder.