Documentation ¶
Index ¶
- func CompTime(t1, t2 int64) int64
- func GetMonthDays(year int, month int) int
- func GetMonthDaysByString(str string) int
- func GetYearMonthDays(year int, month int) int
- func GetYearMonthDaysByString(d string) int
- func GetYearMonthToday(year int, month int) int
- func GetYearMonthTodayByString(d string) int
- func NextMonth(year int, month int) (int, int)
- func NextMonthByString(d string) string
- func NowTimeString(args ...int) string
- func PrevMonth(year int, month int) (int, int)
- func Str2Time(str string, utc ...int) int64
- func Str2TimeGo(str string, utc ...int) time.Time
- func StrRFC11232Time(str string) int64
- func Time2Str(t int64, args ...int) string
- func Time2StrRFC1123(t int64, timezone ...string) string
- func Time2StrShort(t int64, args ...int) string
- func TimeFromUnix(t int64) time.Time
- func UnixTime() int64
- func UnixTimeMilli() int64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMonthDays ¶
func GetMonthDaysByString ¶
func GetYearMonthDaysByString ¶
GetYearMonthDaysByString 获取当月的天数
func GetYearMonthToday ¶
func NextMonthByString ¶
func NowTimeString ¶
func StrRFC11232Time ¶
func Time2StrRFC1123 ¶
func Time2StrShort ¶
func TimeFromUnix ¶
func UnixTimeMilli ¶
func UnixTimeMilli() int64
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.