Changing System Date and Time

Ariez

Well-known member
Joined
Feb 28, 2003
Messages
164
My application is loaded on StartUp fullscreen, and users dont have a mouse nor any access to any other windows programs and especially not the Windows Date and Time properties applet.

So the system date and time changing needs to be handled from my app.

How do I change the system date and time in code?
 
What OS are they running on? If they are a normal user and the OS is NT4 or later then the user will not have permission to change the system time anyway - therefor if your app is running under their account then it wont either.
Win2k and later come with time syncronisation built in anyway (it can be configured from the net time command).
 
WinXP pro...
I dont want time synchro.

is there some code i can set the system date and time?
 
Back
Top