Click here to Skip to main content
11,802,442 members (71,164 online)
Rate this: bad
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 20:15pm
smss IR402
Sergey Alexandrovich Kryukov at 5-Jul-12 2:19am
What's the problem? Why a timer, not thread?
Member 8238193 at 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 at 5-Jul-12 3:05am
Are you planning to build a scheduler?
Member 8238193 at 5-Jul-12 16:19pm
Yeah, i wanna to build a program to computing the expiring date with the issued time.
ryanb31 at 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 at 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 at 6-Jul-12 16:58pm
So the system time is not the current time?
Member 8238193 at 7-Jul-12 0:07am
No, system time is current.
jkirkerx at 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 at 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 465
1 KrunalRohit 366
2 F-ES Sitecore 295
3 Sergey Alexandrovich Kryukov 241
4 Afzaal Ahmad Zeeshan 230
0 OriginalGriff 2,950
1 Maciej Los 1,910
2 KrunalRohit 1,862
3 CPallini 1,645
4 Richard MacCutchan 1,157

Advertise | Privacy | Mobile
Web03 | 2.8.151002.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