displaying the real time and date

Could someone supply me some code on how to use the timer object in VC++ to display the real time in a text box?


whlukAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

whlukAuthor Commented:
using timer event preferentially.
0
nodari_Commented:
I dont code in VC++ but to get the time you could use the windows API, GetLocalTime e GetSystemTime, in the help there should have the information needed to use these functions...
0
whlukAuthor Commented:
And it's very urgent
0
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

whlukAuthor Commented:
sorry nodari, I don't mean that and I probably leading you to the wrong way...
What I really need is to display a continuous date and time (just like xdaliclock in X windows or more simply the small clock in the corner of win98)
I need it to be constantly adjusting the time to reflect the real one...
sux... ok
goodbye

0
inprasCommented:
What is real time?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
whlukAuthor Commented:
Sorry inpras... I'm closing this question b/c I've found the answer
the real time is the time on your watch right now. After a few hours later, I will delete this question. Thanks, it's good effort...
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.