943,708 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 18168
  • C++ RSS
Jul 2nd, 2004
0

Setting system date and time using c++

Expand Post »
Hi, I'm at the beginning of using c++ and I have a problem.
I'm doing a program in c++ where the user will be able to change system time and date.
There is a form in my program with 6 text boxes (one for hour, one for minutes, one for seconds, one for day, one for month, one for year); the user writes in these text boxes the settings as he wants and then presses a button.
The problem is at this point, because I don't know how to use these parameters to set them as system date and time.
So my question is: is there a c++ function that allows me to change the system date and time using the parameters written by the program user?
Or there is another way to do this?
I hope someone can help me!!!
Thanks everybody, bye Alex
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
alexbadboys is offline Offline
2 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in C++ Forum Timeline: regarding round robin algorithm
Next Thread in C++ Forum Timeline: Math tutorial





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC