timeutil

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TimeToTimestampMs

func TimeToTimestampMs(t time.Time) uint64

TimeToTimestampMs turn a golang time object into uint64 timestamp in millisecond

func TimestampMsToTime

func TimestampMsToTime(ms uint64) time.Time

TimestampMsToTime turn a uint64 timestamp in millisecond to a golang time object

func UnixMilliSecond

func UnixMilliSecond() uint64

UnixMilliSecond return current timestamp in millisecond

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL