convertTZ
Syntax
convertTZ(obj, srcTZ, destTZ)
Arguments
obj is a scalar or vector of DATETIME, TIMESTAMP, or NANOTIMESTAMP type.
srcTZ and destTZ are both strings indicating time zones.
Details
Convert obj from time zone srcTZ to time zone destTZ. Daylight saving time is considered in time zone conversion.
Examples
convertTZ(2016.04.25T08:25:45,"US/Eastern","Asia/Shanghai");
// output
2016.04.25T20:25:45