Documentation ¶
Index ¶
- func FirstDateOfMonth(d time.Time) time.Time
- func FirstDateOfNextMonth(d time.Time) time.Time
- func LastDateOfMonth(d time.Time) time.Time
- func TheQuarterFirstDayAndLastDay(d time.Time) (first time.Time, last time.Time)
- func TimeToMysqlString(d time.Time) string
- func YearFirstDayAndLastDay(d time.Time) (first time.Time, last time.Time)
- func ZeroTime(d time.Time) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TheQuarterFirstDayAndLastDay ¶
获取季度的第一天和最后一天
func TimeToMysqlString ¶
func YearFirstDayAndLastDay ¶
YearFirstDayAndLastDay 获取指定时间的 1月1日 和 12 月 31 日
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.