SetSystemTime

Sets the time in the operating system’s clock.

Function Group Execution Windows Embedded Thin Client Mobile Access
SetSystemTime Date & Time Synchronous Supported Supported Supported Not supported

Syntax

  SetSystemTime(strTime)  
Web Studio Help tion datetime setsystemtime.xml d92951e82 SetSystemTime
strTime
The time (in HH:MM:SS format) in which to set the clock.

Returned value

This function does not return any value.

Notes

For this function to execute successfully and change the system settings, you must run InduSoft Web Studio with Administrator privileges. To run as an administrator once, right-click the program icon and then click Run as administrator on the shortcut menu. To always run as an administrator, open the program’s Properties dialog box, click Compatibility, and then select Run this program as an administrator.

Examples

Set the system clock to 3:45:18 PM:
  SetSystemTime("15:45:18")  

SetSystemTime