Documentation
¶
Index ¶
- func Day() string
- func FormatTime(t time.Time) string
- func Hour() string
- func LastMonth() string
- func LastWeek() string
- func LocalNow() time.Time
- func Location() *time.Location
- func MidnightToday() time.Time
- func MidnightTody() time.Time
- func Minute() string
- func Month() string
- func Now() time.Time
- func ParseMillisecond(ts int64) time.Time
- func ParseSecond(ts int64) time.Time
- func ParseTimeStr(timeStr string) (time.Time, error)
- func Second() string
- func Week() string
- func WeekByTime(t time.Time) string
- func WeekDay() time.Weekday
- func Year() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatTime ¶ added in v1.1.78
func MidnightToday ¶ added in v0.4.7
func MidnightTody ¶
func ParseMillisecond ¶ added in v1.1.78
func ParseSecond ¶
func WeekByTime ¶ added in v1.1.74
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.