C++ boost日期比较
char startDatetimeFir[20] = "20130610151521";
char startDatetimeSec[20] = "20130610143525";
date dtFirst = from_undelimited_string(startDatetimeFir);
date dtSecond = from_undelimited_string(startDatetimeSec);
if (dtFirst == dtSecond)
{
cout << "EQ" << endl; //输出EQ
}
else
{
cout <<"NEQ" << endl;
}