package
1.0.6
Repository: https://github.com/cc360428/helppackage.git
Documentation: pkg.go.dev

# Functions

DateDay 获取当前的日.
No description provided by the author
DateDayMilliseconds Time stamp for the morning of the day: in milliseconds DateDayMilliseconds 获取当日凌晨时间戳(毫秒).
DateDayZero 获取当日零时时间戳(秒) Time stamp of the morning of the day: unit seconds.
No description provided by the author
GetDuration 前几个小时时间戳.
GetTodayZero ..
GetWeek 获取今天周.
GetYesterdayZero ..
IsLeapYear ..
IsMonthLastDay ..
IsToday 判断时间戳是否是属于今天,秒级时间戳.
MonthlyTotal 输入年月 计算一个月的总数.
NextDayZeroTs 获取次日0点时间戳.
StringToInt64 标准时间格式(秒)转换为int64时间戳.
TimeFormat ..
TimeFormat1 ..
TimeFormat2 ..
TimeFormat3 ..
TimeFormat4 ..
TimeFormat5 ..
TodayLastSec 今天剩余多少秒 用于设置0点过期.
TodayZeroTs 获取今天0点时间戳.
UnixTimeInt64 返回值int64类型 时间戳(秒): time.Now().Unix()) 时间戳(纳秒): time.Now().UnixNano()) 时间戳(毫秒): time.Now().UnixNano()/1e6) 时间戳(纳秒转换为秒) time.Now().UnixNano()/1e9).
UnixTimeString 返回值string类型 时间戳(秒): time.Now().Unix()) 时间戳(纳秒): time.Now().UnixNano()) 时间戳(毫秒): time.Now().UnixNano()/1e6) 时间戳(纳秒转换为秒) time.Now().UnixNano()/1e9).
WeekOneAndWeekSevenTime 当前周一凌晨和周日最后时间戳.