Solved

COleDateTime Incrementing by a day....

Posted on 1999-01-14
1
275 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 100 total points
ID: 1327726
COleDateTimeSpan oneDay(1, 0, 0, 0);

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

0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate into files by filename 12 87
string initialization in java 11 115
tripleUp challenge 7 86
Thin secure Windows 10 5 102
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.

828 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