计算时间查找,提供调用发放,如下代码: void Test_DateDiff() { // 第一种调用 string str1("2017-08-10"); string str2("2017-08-13"); string strBreak = "-"; //string str1("20170810"); //string str2("20170813"); //string strBreak = ""; CDateDifference dateDiff; int nDateDiff = 0; nDateDiff = dateDiff.GetDateDifference