Click here to Skip to main content
11,922,026 members (57,373 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ time
How to create a timer from system date to a specified date and reverse counter of time to the notify a message on a new window?( on linux & windows )
Posted 4-Jul-12 21:15pm
smss IR402
What's the problem? Why a timer, not thread?
Member 8238193 5-Jul-12 2:24am
problem this is i don't know how can i get the system date, and the system time, and how to the specifying a second. and of course, how to create a window for messaging.
Mohibur Rashid 5-Jul-12 3:05am
Are you planning to build a scheduler?
Member 8238193 5-Jul-12 16:19pm
Yeah, i wanna to build a program to computing the expiring date with the issued time.
ryanb31 5-Jul-12 11:19am
It sounds like you do not know how to program at all? If so, you'll need to get a book first. There is too much to learn that we can't give you every step here.
Member 8238193 5-Jul-12 16:22pm
No no no, my problem this is: I don't know how can i get the system time, and the time, and how to open a window for messaging with the user.
jkirkerx 6-Jul-12 16:58pm
So the system time is not the current time?
Member 8238193 7-Jul-12 0:07am
No, system time is current.
jkirkerx 7-Jul-12 0:25am
Just messing with you.

working with time is not that hard. But you need to write some code to start out with, and then ask questions.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Can't speak for Linux, but on Windows you can look into
Look in MSDN under the topic "Time Management".
Member 8238193 24-Jul-12 15:19pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 568
1 Dave Kreskowiak 285
2 Sergey Alexandrovich Kryukov 173
3 Richard MacCutchan 155
4 ppolymorphe 135
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 24 Jul 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100