nanotimestamp

Syntax

nanotimestamp(X)

Arguments

X is an integer or temporal scalar/vector.

Details

Convert the data type of X to NANOTIMESTAMP. If there is no date in the argument X, return a timestamp from 1999.12.31 00:00:00.000000000 + X (nanoseconds).

Examples

$ nanotimestamp(1000000000);
1999.12.31T00:00:01.000000000

$ nanotimestamp(2012.12.03 12:06:09 2012.12.03 13:08:01);
[2012.12.03T12:06:09.000000000,2012.12.03T13:08:01.000000000]

$ nanotimestamp(2012.12.03 01:22:01.123456789);
2012.12.03T01:22:01.123456789

$ nanotimestamp('2012.12.03 13:30:10.008007006');
2012.12.03T13:30:10.008007006

Related function: nanotime