How Do I Set The Date And Time On The PC From CX-Supervisor

Modified on Sun, 11 May, 2025 at 10:28 PM

The following script (in VBScript) will set the date and time on the local PC clock to 13:13 on 10/10/09:

Dim WshShell

Set WshShell = CreateObject("WScript.Shell")

WshShell.Visible = false

WshShell.Run "cmd /C time 13:13"
WshShell.Run "cmd /C date 10/10/09"

Set WshShell =
Nothing

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article