Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

COleDateTime Incrementing by a day....

Posted on 1999-01-14
1
Medium Priority
?
279 Views
Last Modified: 2013-11-20
How Do I increase dtNow by one day?
COleDateTime dtNow;
dtNow= COleDateTime::GetCurrentTime();
0
Comment
Question by:nechayev
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 300 total points
ID: 1327726
COleDateTimeSpan oneDay(1, 0, 0, 0);

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

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question