Solved

Format Ctime to display current time (+ milliseconds)

Posted on 2000-03-26
1
3,825 Views
Last Modified: 2013-11-20
hi guys,

I am trying to display the current time using CTime in
"hh:mm:ss:HH:MM:SS:mmm" where mmm is milliseconds..
I can get all the formating except for the milliseconds.... it is not documented... how can I retrieve that as well?

Thnaks
0
Comment
Question by:Haho
1 Comment
 
LVL 1

Accepted Solution

by:
mahno earned 50 total points
ID: 2659887
Hi Haho,

It is impossible to get milliseconds using CTime.
To get milliseconds U can use GetSystemTime() function

Hope that helps.
  mahno
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
iSeries FTP Exit Program 8 135
sum67 challenge 35 97
My project did see openJDK that I installed. What could be the problem 7 140
Annoying "thing" blocks my view 4 98
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

815 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

11 Experts available now in Live!

Get 1:1 Help Now