time

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RFC3339 format.
	RFC3339 = time.RFC3339
)

Variables

This section is empty.

Functions

func Now

func Now() time.Time

Now the current local time.

func Since

func Since(t time.Time) time.Duration

Since the time elapsed since t.

func ToMilliseconds

func ToMilliseconds(duration time.Duration) int64

ToMilliseconds from the duration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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