ZennoLab Assemblies Documentation
SetTimezone Method
Example 
ZennoLab.CommandCenter Namespace > Instance Class : SetTimezone Method

Type: System.Int32

The number of hours in the difference between the current time zone and UTC. Possible values from -12 to 12.

Type: System.Int32

The number of minutes in the difference between the current time zone and UTC. Possible values from 0 to 60. The default value is 0.

Type: ZennoLab.InterfacesLibrary.Enums.Browser.TimezoneMode

Time zone working mode.

Sets the system timezone.
Syntax
public void SetTimezone( 
   int hours,
   int minutes,
   TimezoneMode mode
)

Parameters

hours

Type: System.Int32

The number of hours in the difference between the current time zone and UTC. Possible values from -12 to 12.

minutes

Type: System.Int32

The number of minutes in the difference between the current time zone and UTC. Possible values from 0 to 60. The default value is 0.

mode

Type: ZennoLab.InterfacesLibrary.Enums.Browser.TimezoneMode

Time zone working mode.

Example
The following code example demonstrates uses of the SetTimezone method.
instance.SetTimezone(-4, 0);
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members