package
0.0.0-20241104015319-85e10345cc4a
Repository: https://github.com/qida/gohp.git
Documentation: pkg.go.dev
# Functions
Format unix time int64 to string.
Parse Date use PHP time format.
Format time.Time struct to string MM - month - 01 M - month - 1, single bit DD - day - 02 D - day 2 YYYY - year - 2006 YY - year - 06 HH - 24 hours - 03 H - 24 hours - 3 hh - 12 hours - 03 h - 12 hours - 3 mm - minute - 04 m - minute - 4 ss - second - 05 s - second = 5.
Format unix time string to string.
No description provided by the author
倒计时.
No description provided by the author
No description provided by the author
获取日期时整数 2023-01-02T15:00:00+08:00.
获取传入的时间所在月份的第一天,即某月第一天的0点。如传入time.Now(), 返回当前月份的第一天0点时间。.
No description provided by the author
获取传入的时间所在年第一天.
获取传入的时间所在月份的最后一天,即某月最后一天的0点。如传入time.Now(), 返回当前月份的最后一天0点时间。.
获取某一天的0点时间.
判断输入时间是否为当天时间.
大于今天.
小于今天.
No description provided by the author
默认123.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
data = "2021-10-01".
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
获取零时间 2023-01-01T00:00:00+08:00.
修改为日期整时 2023-01-02T15:00:00+08:00.
获取零日期整时 2000-01-01T15:00:00+08:00.
No description provided by the author
获取零日期 舍去秒 2000-01-01T15:04:00+08:00.
No description provided by the author
# Constants
默认结束时间.
日期格式布局.
日期时间格式布局.
时间格式布局.
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
东八区.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author