[#bsl-operator_ns-0a]
= xref:bsl.adoc[bsl]::operator&quot;&quot;&lowbar;ns
:relfileprefix: ../
:mrdocs:

Create a `bsl&colon;&colon;chrono&colon;&colon;duration` object having the `bsl&colon;&colon;nano` duration period and initialized with the specified `ns` number of nanoseconds&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;chrono&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
std::chrono::nanoseconds
operator&quot;&quot;&lowbar;ns(unsigned long long ns);
----

== Return Value

duration representing `ns` nanoseconds

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ns*
| number of nanoseconds
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
