# convertTZ {#converttz}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`convertTZ(obj, srcTZ, destTZ)`

## Arguments {#arguments}

**obj** is a scalar or vector of DATETIME, TIMESTAMP, or NANOTIMESTAMP type.

**srcTZ** and **destTZ** are both strings indicating time zones.

## Details {#details}

Convert *obj* from time zone *srcTZ* to time zone *destTZ*. Daylight saving time is considered in time zone conversion.

## Examples {#examples}

```
convertTZ(2016.04.25T08:25:45,"US/Eastern","Asia/Shanghai");
// output: 2016.04.25T20:25:45
```

