Click or drag to resize

CrestronEnvironmentGetLocalTime Method

Function to get the current local time of the system.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public static DateTime GetLocalTime()

Return Value

DateTime
DateTime indicating local time
Exceptions
ExceptionCondition
InvalidOperationExceptionInternal Error getting local time.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also