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

x
?
Solved

CTime Question

Posted on 1998-06-14
1
Medium Priority
?
217 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 150 total points
ID: 1317948
Use COleDateTime instead. There is a member function COleDateTime::ParseDateTime.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

773 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