go-waku/waku/v2/utils/time.go

8 lines
124 B
Go

package utils
import "time"
func GetUnixEpoch() float64 {
return float64(time.Now().UnixNano()) / float64(time.Second)
}