time

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: MIT Imports: 1 Imported by: 0

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