ITP_GET_LICENSE_EXPIRATION_DATE_V3

Top  Previous  Next

Function gets the date, when license will be expired.

 

ITP_GET_LICENSE_EXPIRATION_DATE_V3(int iYear, int iMonth, int iDay, int iHour, int iMinute);

 

Parameters

 

 iYear   - Year in date of license expiration

 iMonth  - Month in date of license expiration

 iDay    - Day in date of license expiration

 iHour   - Hours in date of license expiration

 iMinute - Minutes in date of license expiration

 

Return

 

 Returns nothing. Output parameters will get date of license expiration.

 

Requirements

 

 Header: IntelliProtectorDeclarations.h

 

Example

 

void ShowLicenseExpirationDate()

{

 int iYear, iMonth, iDay, iHour, iMinute;

 iYear = iMonth = iDay = iHour = iMinute = 0;

 

 ITP_GET_LICENSE_EXPIRATION_DATE_V3(iYear, iMonth, iDay, iHour, iMinute);

 

 CString csDate;

 csDate.Format("%d.%d.%d %d:%d", iDay, iMonth, iYear, iHour, iMinute);

 AfxMessageBox(csDate);

}

 

 





Copyright © 2015 IntelliProtector.com