Nanoseconds.md - hugo - [fork] hugo port for 9front
(HTM) git clone https://git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
Nanoseconds.md (336B)
---
1 ---
2 title: Nanoseconds
3 description: Returns the time.Duration value as an integer nanosecond count.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: int64
9 signatures: [DURATION.Nanoseconds]
10 ---
11
12 ```go-html-template
13 {{ $d = time.ParseDuration "3.5h2.5m1.5s" }}
14 {{ $d.Nanoseconds }} → 12751500000000
15 ```