GetOrderDate (1) |
Top Previous Next |
This function returns the date when order has been created.
static void GetOrderDate(OUT int& iYear, OUT int& iMonth, OUT int& iDay, OUT int& iHour, OUT int& iMinute);
Parameters
int iYear - Year in date of the order int iMonth - Month in date of the order int iDay - Day in date of the order int iHour - Hours in date of the order int iMinute - Minutes in date of the order
Return value
Returns nothing.
Requirements
Header: IntelliProtector.h
Example
using namespace IntelliProtectorService; // ...
void ShowOrderDate() { int iYear, iMonth, iDay, iHour, iMinute; iYear = iMonth = iDay = iHour = iMinute = 0;
CIntelliProtector::GetOrderDate(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 |