timex

package
v1.3.58 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDate

func FormatDate(dateStr string) (time.Time, error)

时间格式变化 20060102 -> 2006-01-02

func GbTimeToUnixTime

func GbTimeToUnixTime(timeStr string) int64

func GbTimeToUnixTime2

func GbTimeToUnixTime2(timeStr string) int64

func GetTimeString2

func GetTimeString2() string

func GetTimeString3

func GetTimeString3() string

func GetTimeStringT

func GetTimeStringT() string

func NowInHHMMSS

func NowInHHMMSS() string

func NowInYYMMDD

func NowInYYMMDD() string

func UnixTimeToGbLocalTime

func UnixTimeToGbLocalTime(sec int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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