nanotime

Syntax

nanotime(X)

Arguments

X is an integer or temporal scalar/vector.

Details

Convert the data type of X to NANOTIME.

Examples

$ nanotime(1000000000);
00:00:01.000000000

$ nanotime(12:06:09 13:08:01);
[12:06:09.000000000,13:08:01.000000000]

$ nanotime(2012.12.03 01:22:01.123456789);
01:22:01.123456789

$ nanotime('13:30:10.008007006');
13:30:10.008007006

Related function: nanotimestamp