Documentation ¶
Index ¶
- func DateStr(tm time.Time) string
- func DateStrShort(tm time.Time) string
- func DateStrToTimestamp(str string) (int64, error)
- func DateTimeStr(tm time.Time) string
- func DateTimeStrFmt(tm time.Time, fm string) string
- func DateTimeStrLong(tm time.Time) string
- func TimeStr(tm time.Time) string
- func TimeStrToTimestamp(str string) int64
- func UnitToDate(unit int64) (date time.Time, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DateStrShort ¶
func DateStrToTimestamp ¶
func DateTimeStr ¶
func DateTimeStrLong ¶
func TimeStrToTimestamp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.