The only way to do this without shelling out to the net time command is
to use the SetLocalTime() API from Kernel32.dll.
#Mad, mad props to G.Knauf, [EMAIL PROTECTED]
#He has a script on the Internets that I used as an example
use strict;
use warnings;
use Wi
Xiaofang Zhou wrote:
Hi,
I can't find any perl function to change the date/time of PC.
The only way I found is `cmd.exe /C date $today`, call DOS function.
Any one can give me a clue?
Thanks,
Xiaofang Zhou
[EMAIL PROTECTED]
I don't think there is any perl fu