time

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DateTimeLayout = "2006-01-02 15:04:05"
)

Variables

This section is empty.

Functions

func DateTimeFormat

func DateTimeFormat(t time.Time) string

DateTimeFormat ...

func MustParseDateTimeFormat

func MustParseDateTimeFormat(v string) time.Time

MustParseDateTimeFormat returns

func ParseDateTimeFormat

func ParseDateTimeFormat(v string) (time.Time, error)

ParseDateTimeFormat returns

Types

This section is empty.

Jump to

Keyboard shortcuts

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