package
1.2.3
Repository: https://github.com/minlib/go-util.git
Documentation: pkg.go.dev

# Functions

AddDay add days.
AddDuration 增加时间.
AddHour add hours.
AddMinute add minutes.
AddMonth add months.
AddSecond add seconds.
AddYear add years.
BetweenDays 获取2个日期的涉及天数.
EndDateTime 当天的结束时间.
FormatDate 获取日期字符串.
FormatDateTime 获取日期时间字符串.
FormatTime 获取时间字符串.
GetIntervalString 获取两个时间差字符串.
IsSameDay 判断两个日期是同一天.
ParseDateTime 时间字符串转换为日期时间.
ParseInLocation is like Parse but differs in two important ways.
RangeDateTime 当天的开始与结束时间.
StartDateTime 当天的开始时间.
SubDays 获取2个日期的相差天数.
ToBeijingTime 转成北京时间.
ToBeijingZone 转成北京时区,时间字符串保持不变.
No description provided by the author
No description provided by the author
No description provided by the author