Code. Collaborate. Organize.
No Limits. Try it Today.
dtArray = 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
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)