DateTime.getTimeZone()

Signature

String getTimeZone(DateTime date, boolean daylight_saving_name)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Gets the timezone id from DateTime object.

Parameters

NameTypeDescription
dateDateTimeA DateTime to get the timezone of.
daylight_saving_namebooleanIf true returns the daylight savings name.

Returns

TypeDescription
StringThe timezone id.

Cautions

none