954,535 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Setting system date and time using c++

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

alexbadboys
Newbie Poster
2 posts since Jul 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You