- TIBCO BusinessEvents®
- Standard
- DateTime

# DateTime.translateTime()

## Signature

`DateTime translateTime(DateTime date, String tz)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Translate a time to a new timezone and return the new translated DateTime object

## Parameters

Name | Type | Description
--- | --- | ---
`date` | `DateTime` | The DateTime to be translated.
`tz` | `String` | The Time Zone ID. If null, use the default TimeZone.

## Returns

Type | Description
--- | ---
`DateTime` | The new translated DateTime of timezone tz.

## Cautions

none