This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Determines whether the time represented by the given DateTime is based on local time.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static <bool> IsLocalTime(
	 dt
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function IsLocalTime ( _
	dt As  _
) As (Of )

Parameters

dt
DateTime
A DateTime.

Return Value

Returns true if the given DateTime is based on local time or false if the given DateTime is based on universal time, or if the time zone is unspecified.

See Also

Advanced