Returns the Coordinated Universal Time (UTC) offset for the current local time and current time zone, represented in minutes.

Syntax

Smartsite SXML CopyCode image Copy Code
float datetime.getutcoffset()
float datetime.getutcoffset(datetime time)

Parameters

Name Data Type Description
time DateTime A local date and time.

Return Value

Data Type Description
Float A number of whole and fractional minutes representing the UTC offset from the current time.

Expand image Example

SXML