Get Microseconds in Duration

Examples in Go
package main

import (
	"fmt"
	"time"
)

func main() {
	m, _ := time.ParseDuration("1m30s")
	fmt.Printf("%d microseconds.", m.Microseconds())
}
Last Run  :
90000000 microseconds.