datetime

Syntax

datetime(X)

Arguments

X is a temporal scalar/vector, or an integer.

Details

Return the corresponding datetime(s). The return value type is DATETIME, a temporal.

Examples

$ datetime(2009.11.10);
2009.11.10T00:00:00

$ typestr datetime(2009.11.10);
DATETIME

$ datetime(now());
2016.03.02T20:51:10

Related functions: date, second, minute, month, hour, year