Engine.Locale.getDefaultTimeZone()

Signature

String getDefaultTimeZone()

Domain

action, condition, query

Description

Gets the default timezone; value depends on JVM implementation.

Parameters

None.

Returns

TypeDescription
StringThe timezone id.

Cautions

none

Example


String tz = DateTime.getDefaultTimeZone ();

Result is:
tz contains: "America/Los_Angeles time" if the host you are running on is set to PST