datetime module

datetime::nanosecond

Extract the nanosecond component from a datetime.

Syntax

RQL

Parameters

NameTypeDescription
datetime_valueDatetimeThe datetime to extract the nanosecond from

Return Value

Returns an integer representing the nanosecond component.

Examples

$ Extract nanosecond from datetime
$ ctrl+enter to run

Related Functions