This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns the Coordinated Universal Time (UTC) offset for the given local time and current time zone, represented in minutes.

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

Syntax

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

Parameters

time
DateTime
A local date and time.

Return Value

A number of whole and fractional minutes representing the UTC offset from the given time.

See Also

Advanced