• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 281
  • Last Modified:

COleDateTime Incrementing by a day....

How Do I increase dtNow by one day?
COleDateTime dtNow;
dtNow= COleDateTime::GetCurrentTime();
0
nechayev
Asked:
nechayev
1 Solution
 
Tommy HuiEngineerCommented:
COleDateTimeSpan oneDay(1, 0, 0, 0);

COleDateTime dtNow = COleDateTime::GetCurrentTime;
COleDateTime dtTomorrow = dtNow + oneDay;

0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now