| | |
Setting system date and time using c++
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jul 2004
Posts: 2
Reputation:
Solved Threads: 0
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
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
- Help needed for system date and time its urgent (C)
- help needed for system date and time (C)
- change system date and time. plss help (Visual Basic 4 / 5 / 6)
- How to set System Date & time (Java)
- getting system date and time (C)
- Program to display System date and Time in VC++ 6.0 (C++)
- date-time problem (C++)
- change system date (Pascal and Delphi)
Other Threads in the C++ Forum
- Previous Thread: regarding round robin algorithm
- Next Thread: Math tutorial
| Thread Tools | Search this Thread |
api array based beginner binary c++ c/c++ calculator char char* class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets




