package util

import "time"


/**
获取时间戳(纳秒)
Testner 20210123
*/
func GetTime_UnixNano() string{
currentTime := time.Now()
// fmt.Println("时间戳(纳秒):", now.UnixNano()/1e6)
return currentTime.Format("2006-01-02 15:04:05.000000")

//fmt.Println("Time with MicroSeconds: ", currentTime.Format("2006-01-02 15:04:05.000000"))

//fmt.Println("Time with NanoSeconds: ", currentTime.Format("2006-01-02 15:04:05.000000000"))

//Time with MicroSeconds: 2020-06-01 10:10:46.155173
//Time with NanoSeconds: 2020-06-01 10:10:46.155173100
}