//这里的 m_GetSampleStartDate,m_GetSampleEndDate为得到的时间为字符串型
int nYear = 0;
int nMonth = 0;int nDay = 0;
int nHour = 0;
int nSecond = 0;
int nMinute = 0;
int nYear1 = 0;
int nMonth1 = 0;
int nDay1 = 0;
int nHour1 = 0;
int nSecond1 = 0;
int nMinute1 = 0;
SYSTEMTIME starttime,e