C++获得当前日期的后7天
CTime tm = CTime::GetCurrentTime();//Current TimeCTimeSpan tp(1,0,0,0);//1 day,0 hour,0 minutes,0 seconds (time interval)CString ShowTime;ShowTime.Format("%4d年%2d月%2d日",tm.GetYear(),tm.GetMont