Nanoseconds



examples/nano/nano.go
package main

import (
    "fmt"
    "time"
)

func main() {
    now := time.Now()
    fmt.Println(now)
    fmt.Println(now.Unix())
    fmt.Println(now.UnixNano())
}

examples/nano/nano.out
2020-04-24 21:43:01.206928432 +0300 IDT m=+0.000030861
1587753781
1587753781206928432