Module time_utils

Source

Functions§

begin_timestamp_from
获取指定时间的开始时间
cur_time_str
获取当前时间
cur_time_str_with_format
cur_timestamp
获取下一天刚开始的时间戳
hms_from_timestamp
通过时间戳获取时分秒
last_min_timestamp_from
获取指定时间戳,在当天最后这一分钟的时间戳
next_day_begin_timestamp_from
获取下一天刚开始的时间戳
next_day_begin_timestamp_from_today
获取下一天刚开始的时间戳
pre_day_begin_timestamp_from
获取前一天的时间
pre_day_begin_timestamp_from_today
获取前一天的时间
str_to_time
time_to_str
timestamp_to_string
ymd_from_timestamp
通过时间戳获取年月日