Documentation
¶
Index ¶
- func CheckDateFormat(date string) bool
- func CheckDateTimeFormat(dateTime string) bool
- func CurrentTimeH() string
- func CurrentTimeHI() string
- func CurrentTimeHIS() string
- func CurrentTimeYMD() string
- func CurrentTimeYMDHIS() string
- func FormatTimeInt64YMGHIS(timestamp int64) string
- func FormatTimeYMGHIS(timestamp time.Time) string
- func FormatYMDHIS(timing *time.Time) string
- func GenerateFolderName() string
- func GetCurrentTime() *time.Time
- func GetCurrentYMDHIS() string
- func StringToTime(dateStr string) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckDateTimeFormat ¶
CheckDateTimeFormat 检查时间格式
func FormatTimeYMGHIS ¶
FormatTimeYMGHIS 获取指定时间戳的年月日时分秒
Types ¶
This section is empty.
Source Files
¶
- format.go
- time.go
Click to show internal directories.
Click to hide internal directories.