Documentation ¶
Index ¶
Constants ¶
View Source
const DAY_SECOND = 3600 * 24
View Source
const MINUTE_SECOND = 60
Variables ¶
This section is empty.
Functions ¶
func GetFirstDateOfMonth ¶
获取传入的时间所在月份的第一天,即某月第一天的0点。如传入time.Now(), 返回当前月份的第一天0点时间。
func GetLastDateOfMonth ¶
获取传入的时间所在月份的最后一天,即某月最后一天的0点。如传入time.Now(), 返回当前月份的最后一天0点时间。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.