Try SetSystemTime (API function). You'll need the right privileges on NT.
- Andrew Cooke.
> -----Original Message-----
> From: Coulter, Jeremy [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, June 04, 1999 2:20 PM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Progmatically changing Computers Date
>
> Hi all can someone remind me how to Progmatically changing Computers Date
> ??
>
> I have some ASM code, but it nearly killed my machine when I ran
> it.....The
> code is :-
[snip]
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz