boost类库年、月、日获取
char startDatetime[20] = "20130620143525";
date myUndefineDate = from_undelimited_string(startDatetime);
cout << to_iso_string(myUndefineDate) << endl;
int nYear = myUndefineDate.year();
int nMonth = myUndefineDate.month();
int nDay = myUndefineDate.day();
cout << "年" << nYear << endl;
cout << "月" << nMonth <<endl;
cout << "日" << nDay << endl;