[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

COleDateTime::GetCurrentTime() wrong Hour since Standard Time

Asked by ARPYPREF in Microsoft Applications, Microsoft Visual C++, Microsoft Operating Systems

Tags: Windows XP, Daylight Time error

Several applications written in MFC C++ 6.0 use COleDateTime::GetCurrentTime()
Since the time change on November 1, 2009 this returns 1 hour later than the system clock indicates.  This seems to be all 100 or so computers on a network while all sseem to be up to date with XP SP3 and all patches and updates.  

COleDateTime Today;
Today = COleDateTime::GetCurrentTime();
CString TheTime = Today.Format();
AfxMessageBox(TheTime);  Result is one hour later than actual time



Is there some update or patch available?
[+][-]11/05/09 01:09 AM, ID: 25747750Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/05/09 03:52 AM, ID: 25748523Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/05/09 07:59 PM, ID: 25756506Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 07:37 AM, ID: 25759991Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/08/09 03:04 PM, ID: 25772455Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625