- 获取当天凌晨时间戳 cur_time = time.time() timeArray = time.localtime(cur_time - cur_time % 86400 - 8 * 3600)