timestamp

Syntax

timestamp(X)

Arguments

X is a temporal scalar/vector.

Details

Return the corresponding timestamp(s). The data type of the result is TIMESTAMP.

Examples

timestamp(2016.10.12);
// output
2016.10.12T00:00:00.000

timestamp(2016.10.12)+1;
// output
2016.10.12T00:00:00.001

timestamp(now());
// output
2016.10.13T20:28:45.104