Documentation ¶
Index ¶
- func MicroSec2LocalStr(msec int64) string
- func MicroSec2LocalStrWithLay(msec int64, layout string) string
- func MicroSec2Time(msec int64) time.Time
- func MicroSec2UTCStr(msec int64) string
- func MicroSec2UTCStrWithLay(msec int64, layout string) string
- func MillSec2LocalStr(msec int64) string
- func MillSec2LocalStrWithLay(msec int64, layout string) string
- func MillSec2Time(msec int64) time.Time
- func MillSec2UTCStr(msec int64) string
- func MillSec2UTCStrWithLay(msec int64, layout string) string
- func RawMicroSec2Str(msec int64, layout string, loc *time.Location) string
- func RawMillSec2Str(sec int64, layout string, loc *time.Location) string
- func RawSec2Str(sec int64, layout string, loc *time.Location) string
- func Sec2LocalStr(sec int64) string
- func Sec2LocalStrWithLay(sec int64, layout string) string
- func Sec2Time(sec int64) time.Time
- func Sec2UTCStr(sec int64) string
- func Sec2UTCStrWithLay(sec int64, layout string) string
- func Str2Time(str string) (time.Time, error)
- func Str2TimeWithLay(str, layout string) (time.Time, error)
- func Time2LocalStr(t time.Time) string
- func Time2LocalStrWithLay(t time.Time, layout string) string
- func Time2Str(t time.Time, layout string, loc *time.Location) string
- func Time2UTCStr(t time.Time) string
- func Time2UTCStrWithLay(t time.Time, layout string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MicroSec2LocalStrWithLay ¶
MicroSec2LocalStrWithLay 毫秒级时间戳转东八区字符串
func MicroSec2UTCStrWithLay ¶
MicroSec2UTCStrWithLay 毫秒级时间戳转UTC时区字符串
func MillSec2LocalStrWithLay ¶
MillSec2LocalStrWithLay 毫秒级时间戳转东八区字符串
func MillSec2UTCStrWithLay ¶
MillSec2UTCStrWithLay 毫秒级时间戳转UTC时区字符串
func RawMicroSec2Str ¶
RawMicroSec2Str 毫秒级时间戳转字符串
func RawMillSec2Str ¶
RawMillSec2Str 毫秒级时间戳转字符串
func RawSec2Str ¶
RawSec2Str 秒级时间戳转字符串
func Sec2LocalStrWithLay ¶
Sec2LocalStrWithLay 秒级时间戳转东八区字符串
func Sec2UTCStrWithLay ¶
Sec2UTCStrWithLay 秒级时间戳转UTC时区字符串
func Str2TimeWithLay ¶
Str2TimeWithLay 字符串转time
func Time2LocalStr ¶
func Time2UTCStr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.