Click or drag to resize

CrestronEnvironmentSetTimeZone Method

Set local time to the timezone with given timezoneId

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static bool SetTimeZone(
	int timezoneId
)

Parameters

timezoneId  Int32
Id for the required timezone within the timezone list

Return Value

Boolean
returns true if successful
Exceptions
ExceptionCondition
NotSupportedExceptionSetting the time zone is not supported in this environment.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also