Solved

CTime Question

Posted on 1998-06-14
1
209 Views
Last Modified: 2013-11-20
Hi!

I have a CTime object. I use Format method to display it in a dialog, using the current locale.
The user is able then to change it. The problem is how can I build the CTime object from the string, without taking care myself of locale?
For instance, Rogue Wave's class for time is able to build a time from a string, using locale.
CTime from Microsoft doesn't seem to be able to do so.

Thank you!

Andrei
0
Comment
Question by:olariua
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1317948
Use COleDateTime instead. There is a member function COleDateTime::ParseDateTime.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add content to output file 4 58
matchUp  challenge 6 48
modThree challenge 4 64
Unix Command -- Challenging  question 7 79
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now