Get Microseconds in Duration
Examples
Filter
package main
import (
"fmt"
"time"
)
func main() {
m, _ := time.ParseDuration("1m30s")
fmt.Printf("%d microseconds.", m.Microseconds())
}
Last Run
:
90000000 microseconds.