Determines whether the time represented by the given DateTime is based on universal time.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean datetime.isuniversaltime(datetime dt)

Parameters

Name Data Type Description
dt DateTime A DateTime.

Return Value

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

Expand image Example

SXML