ITP_GET_ORDER_DATE_V3

Top  Previous  Next

This function returns the date when an order has been created.

 

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

 

Parameters

 

 iYear   - Year in date of the order

 iMonth  - Month in date of the order

 iDay    - Day in date of the order

 iHour   - Hours in date of the order

 iMinute - Minutes in date of the order

 

Return

 

 Returns nothing. Output parameters will get date of the registration.

 

Requirements

 

 Header: IntelliProtectorDeclarations.h

 

Example

 

void ShowOrderDate()

{

 int iYear, iMonth, iDay, iHour, iMinute;

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

 

 ITP_GET_ORDER_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