alexbadboys 0 Newbie Poster

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.