Link to home
Create AccountLog in
Avatar of pr_wainwright
pr_wainwright

asked on

Change Time on Windows NT4 Workstation

I have an application that sends shift code information to label printers on shift change overs 3 times per day. How can I change the time setting on a Windows NT4 workstation to test the application as I don't have admin rights to do this via control panel. I can change the shift times in code but this means constantly recompiling when testing.

Thanks
Paul.
ASKER CERTIFIED SOLUTION
Avatar of Imthiyaz_ph
Imthiyaz_ph

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Avatar of pr_wainwright
pr_wainwright

ASKER

Imthiyaz_ph,
                   I get an error message of 'Not all privileges referenced are assigned to the caller'.
when using

function SetPCSystemTime(dDateTime: TDateTime): Boolean;

Any idea's

Thanks
Paul.