Setting system date and time using c++

Please support our C++ advertiser: Intel Parallel Studio Home
Closed Thread

Join Date: Jul 2004
Posts: 2
Reputation: alexbadboys is an unknown quantity at this point 
Solved Threads: 0
alexbadboys alexbadboys is offline Offline
Newbie Poster

Setting system date and time using c++

 
0
  #1
Jul 2nd, 2004
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
Quick reply to this message  
Closed Thread

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC