Documentation
¶
Index ¶
- func GetCurDayTime() time.Time
- func GetFirstDayOfMonth(t time.Time) time.Time
- func GetLastMonthStartEnd() (lastMonthStart, lastMonthEnd time.Time)
- func GetWeeksByTime(t time.Time) (startWeeks []time.Time)
- func StrToTime(layout, value string) (t time.Time)
- func SubDays(t1, t2 time.Time) (day int)
- func SubMonth(t1, t2 time.Time) (month int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastMonthStartEnd ¶ added in v1.2.4
GetLastMonthStartEnd 获取上个月开始结束时间
func GetWeeksByTime ¶
GetWeeksByTime 根据时间获取周的日期列表
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.