time_t tLast = pLastFQKLineItem->GetStartTime();
time_t tNew = pNewKLineItem->GetStartTime();
tm* ptm = localtime(&tLast);
tm tmLast = *ptm;
ptm = localtime(&tNew);
tm tmNew = *ptm;
localtime返回了一个tm指针,空间是由localtime自己控制的
/*MSDN中有相关说明:
Both the 32-bit and 64-bit versions ofgmtime, mktime, mkgmtime, and localtime all
use a single tm structure per thread for the conversion. Each call to one of these
routines destroys the result of the previous call.
*/