- TIBCO BusinessEvents®
- Standard
- DateTime

# 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

Name | Type | Description
--- | --- | ---
`date` | `DateTime` | A DateTime to get the timezone of.
`daylight_saving_name` | `boolean` | If true returns the daylight savings name.

## Returns

Type | Description
--- | ---
`String` | The timezone id.

## Cautions

none