convertTZ
Syntax
convertTZ(obj, srcTZ, destTZ)
Arguments
obj is a temporal variable/vector. The data type of obj can be datetime, timestamp, or nanotimestamp.
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");
2016.04.25T20:25:45