10 MachineConfigurationType ToC Previous Next

10.5 SetMachineTime ToC Previous Next

The SetMachineTime Method allows setting the server time together with TimeZoneOffset.


SetMachineTime (
[in]	0:DateTime	DateTime
[in]	0:TimeZoneDataType	TimeZoneOffset);

Table 28 SetMachineTime Method Arguments

Argument Description
DateTime Date and time in UTC time
TimeZoneOffset Time difference from UTC in minutes incl. daylight saving time

Table 29 – SetMachineTime Method AddressSpace Definition

Attribute Value        
BrowseName SetMachineTime        
References Node Class BrowseName DataType TypeDefinition Modelling Rule
0:HasProperty Variable InputArguments Argument[] 0:PropertyType M

Example: A call with DateTime = “2021-04-30 12:00” (UTC time) and TimeZoneOffset = {120; true}, sets the (local) machine time to “30-04-2021 14:00” and the time zone to “UTC+2” with active daylight saving time.

Previous Next