CTime::GetDay()
CTime dtArray[7]; dtArray[0] = CTime::GetCurrentTime(); CTimeSpan tsDay = new CTimeSpan(1, 0, 0, 0); for (int dayx = 1; dayx < 7; ++dayx) { dtArray[dayx] = dtArray[dayx - 1] + tsDay; } // dtArray now contains 7 successive dates from today
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)