Documentation ¶
Index ¶
- func Day() string
- func Hour() string
- func LastMonth() string
- func LastWeek() string
- func MidnightTody() time.Time
- func Minute() string
- func Month() string
- func ParseDay(dayStr string) (time.Time, error)
- func ParseHour(hourStr string) (time.Time, error)
- func ParseMinute(minuteStr string) (time.Time, error)
- func ParseMonth(monthStr string) (time.Time, error)
- func ParseSecond(secondStr string) (time.Time, error)
- func ParseWeek(weekStr string) (time.Time, error)
- func Second() string
- func Week() string
- func WeekDay() time.Weekday
- func Year() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MidnightTody ¶
func ParseMinute ¶
ParseMinute 解析分钟格式 (例如: 202401011230)
func ParseMonth ¶
ParseMonth 解析月份格式 (例如: 202401)
func ParseSecond ¶
ParseSecond 解析秒格式 (例如: 20240101123045)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.