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.
Delphi

Avatar of undefined
Last Comment
pr_wainwright

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Imthiyaz_ph

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
geobul

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
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.

 
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck