gmtime

Syntax

gmtime(X)

Arguments

X is a scalar or a vector. The data type of X can be DATETIME, TIMESTAMP, or NANOTIMESTAMP.

Details

Convert X from local time zone to GMT (Greenwich Mean Time).

Examples

The following examples were conducted in US Eastern time zone.

gmtime(2018.01.22 10:20:26);
// output
2018.01.22T15:20:26

gmtime(2017.12.16T13:30:10.008);
// output
2017.12.16T18:30:10.008